File tree Expand file tree Collapse file tree 2 files changed +35
-0
lines changed
Expand file tree Collapse file tree 2 files changed +35
-0
lines changed Original file line number Diff line number Diff line change @@ -546,6 +546,40 @@ Some example mappings you could configure:
546546 end)
547547<
548548
549+ ==============================================================================
550+ USER COMMANDS *dap-user-commands*
551+
552+ nvim-dap provides the following user commands.
553+
554+ Session management:
555+
556+ - `DapContinue` : Continue executing a paused session or start a new one
557+ - `DapDisconnect` : Disconnect from an active debugging session
558+ - `DapNew` : Start one or more new debug sessions
559+ - `DapTerminate` : Terminate the current session
560+
561+ Stepping:
562+
563+ - `DapRestartFrame` : Restart the active sessions' current frame
564+ - `DapStepInto` : Step into the current expression
565+ - `DapStepOut` : Step out of the current scope
566+ - `DapStepOver` : Step over the current line
567+
568+ REPL:
569+
570+ - `DapEval` : Create a new window & buffer to evaluate expressions
571+ - `DapToggleRepl` : Open or close the REPL
572+
573+ Breakpoints:
574+
575+ - `DapClearBreakpoints` : Clear all breakpoints
576+ - `DapToggleBreakpoint` : Set or remove a breakpoint at the current line
577+
578+ Diagnostics:
579+
580+ - `DapSetLogLevel` : Set the log level
581+ - `DapShowLog` : Show the session log in a split window
582+
549583==============================================================================
550584CLIENT CONFIGURATION *dap.defaults*
551585
Original file line number Diff line number Diff line change @@ -18,6 +18,7 @@ cmd('DapSetLogLevel',
1818cmd (' DapShowLog' , ' split | e ' .. vim .fn .stdpath (' cache' ) .. ' /dap.log | normal! G' , {})
1919cmd (' DapContinue' , function () require (' dap' ).continue () end , { nargs = 0 })
2020cmd (' DapToggleBreakpoint' , function () require (' dap' ).toggle_breakpoint () end , { nargs = 0 })
21+ cmd (' DapClearBreakpoints' , function () require (' dap' ).clear_breakpoints () end , { nargs = 0 })
2122cmd (' DapToggleRepl' , function () require (' dap.repl' ).toggle () end , { nargs = 0 })
2223cmd (' DapStepOver' , function () require (' dap' ).step_over () end , { nargs = 0 })
2324cmd (' DapStepInto' , function () require (' dap' ).step_into () end , { nargs = 0 })
You can’t perform that action at this time.
0 commit comments