1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-01-23 17:50:04 +08:00
SpaceVim/docs/layers/debug.md
2021-06-21 20:39:29 +08:00

1.6 KiB

title description
SpaceVim debug layer This layer provides debug workflow support in SpaceVim

Available Layers >> debug

Description

This layer provides debug workflow for SpaceVim. All of the functionality is based on vim-vebugger.

Install

To use this configuration layer, add the following snippet to your custom configuration file.

[[layers]]
  name = "debug"

Key bindings

Key Binding Description
SPC d l launch the debugger
SPC d c Continue the execution
SPC d b Toggle a breakpoint for the current line
SPC d B Clear all breakpoints
SPC d o step over
SPC d i step into functions
SPC d O step out of current function
SPC d e s Evaluate and print the selected text
SPC d e e Evaluate the <cword> under the cursor
SPC d e S Execute the selected text
SPC d k Terminates the debugger

Debug Transient State

key bindings are too long? use SPC d . to open the debug transient state:

Debug Transient State