sponsor Vim development Vim logo Vim Book Ad

vim-node-inspect : Interactive CLI node debugger

 script karma  Rating 0/0, Downloaded by 9  Comments, bugs, improvements  Vim wiki

created by
Eli Babila
 
script type
utility
 
description
A wrapper over node-inspect (interactive CLI node debugger). Wraps node-inspect (https://github.com/nodejs/node-inspect).

Latest version at https://github.com/eliba2/vim-node-inspect .
Requires Vim8.1+.

Starting
Either start debugging a local js file (via NodeInspectStart or NodeInspectRun) or connect to a running instance using NodeInspectConnect. In the later case the target must start with --inspect (e.g. node --inspect server.js).
To run arbitrary js code in the debugger use "exec".


The following commands are available. No default bindings.

NodeInspectStart - Starts node inspect, paused

NodeInspectRun - Continue / Start and run immediatly

NodeInspectConnect host:port - Connect to a running instance

NodeInspectStepOver - Step over

NodeInspectStepInto - Step into

NodeInspectStepOut - Step out

NodeInspectContinue - Continue running

NodeInspectStop - Stop debugging (and kill the node instance)

NodeInspectToggleBreakpoint - Toggle breakpoint

NodeInspectRemoveAllBreakpoints - Removes all breakpoints

In beta. Means its useful; things may change or fail.
NOT tested on Windows.
 
install details
Unzip ~/.vim or using your favorite package manager. For vim-plug its

Plug 'eliba2/vim-node-inspect'
 

rate this script Life Changing Helpful Unfulfilling 
script versions (upload new version)

Click on the package to download.

package script version date Vim version user release notes
vimnodeinspect.zip 0.2 2020-01-10 8.0 Eli Babila Requires Vim8.1+
vimnodeinspect.zip 0.1 2020-01-10 8.0 Eli Babila Initial upload
ip used for rating: 3.229.142.175

If you have questions or remarks about this site, visit the vimonline development pages. Please use this site responsibly.
Questions about Vim should go to the maillist. Help Bram help Uganda.
   
OSDN.net Logo