Skip to content

mynameiscoffey/node-vim-debugger

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

node-vim-debugger

Node.js debugger client and vim driver. Step-by-step debugging from vim.

install

npm install -g vimdebug

use

  1. start your program with debugger enabled
node --debug-brk yourprogram.js
  1. start agent
node-vim-inspector

connect vim to agent:

vim -nb

or if you have vim already running, type :nbs in command mode

keys

  • CTRL+c - continue
  • CTRL+i - step in
  • CTRL+o - step over
  • CTRL+n - step next
  • CTRL+u - move one stack frame up
  • CTRL+d - move one stack frame down
  • CTRL+b - set breakpoint at current location

TODO:

-do steps 1-3 from one vim command (:ndebug ?)

  • live edit
  • switch compiled js/original source
  • jump to symbol
  • eval balloons (only for GUI vim)

Bitdeli Badge

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 97.4%
  • CoffeeScript 2.6%