Skip to content

Commit

Permalink
Add DapDisconnect command (#1294)
Browse files Browse the repository at this point in the history
  • Loading branch information
barreiroleo authored Aug 1, 2024
1 parent f8b0b11 commit dcc85d1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions plugin/dap.lua
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ cmd('DapStepOver', function() require('dap').step_over() end, { nargs = 0 })
cmd('DapStepInto', function() require('dap').step_into() end, { nargs = 0 })
cmd('DapStepOut', function() require('dap').step_out() end, { nargs = 0 })
cmd('DapTerminate', function() require('dap').terminate() end, { nargs = 0 })
cmd('DapDisconnect', function() require('dap').disconnect({ terminateDebuggee = false }) end, { nargs = 0 })
cmd('DapLoadLaunchJSON', function() require('dap.ext.vscode').load_launchjs() end, { nargs = 0 })
cmd('DapRestartFrame', function() require('dap').restart_frame() end, { nargs = 0 })

Expand Down

0 comments on commit dcc85d1

Please sign in to comment.