Quantcast
Channel: CNode:Node.js专业中文社区
Viewing all articles
Browse latest Browse all 14821

一个完整的 Vim 下 debug workflow

$
0
0

SpaceVim Layers: debug

原文: http://spacevim.org/layers/debug/

Description

This layer provide a debug workflow for SpaceVim. All of the function is based on vim-vebugger.

Install

To use this configuration layer, add call SpaceVim#layers#load('debug') to your custom configuration file.

Key bindings

Key BindingDescription
SPC d llaunching debugger
SPC d cContinue the execution
SPC d bToggle a breakpoint for the current line
SPC d BClear all breakpoints
SPC d ostep over
SPC d istep into functions
SPC d Ostep out of current function
SPC d e sEvaluate and print the selected text
SPC d e eEvaluate the <cword> under the cursor
SPC d e SExecute the selected text
SPC d kTerminates the debugger

Debug Transient State

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

Debug Transient State


Viewing all articles
Browse latest Browse all 14821

Trending Articles