debug layer
Table of Contents
Description
This layer adds interactive debuggers for mulitple languages using realgud.
Install
To use this configuration layer, add it to your ~/.spacemacs
. You will need to
add debug
to the existing dotspacemacs-configuration-layers
list in this
file.
enable additional debuggers
Language specific debuggers are added by the respective layer. If you want to
add additional debuggers, add them to the debug-additional-debuggers
variable.
This accepts either a string or list of strings. Make sure that your debugger is
compatible by checking here.
(setq-default dotspacemacs-configuration-layers
'((debug :variables debug-additional-debuggers '("remake" "nodejs"))))
Key bindings
Leader
Key Binding | Description |
---|---|
SPC m d d | open cmd buffer |
shortkey-mode
Key Binding | Description |
---|---|
s | step over |
i | step into |
o | step out |
c | continue |
J | jump to current line |
e | eval variable |
r | restart |
q | quit debug |
S | goto cmd buffer |
bb | set break |
bc | clear break |
bd | delete break |
bs | disable break |
be | enable break |