Skip to content

Instantly share code, notes, and snippets.

@hansrwindhoff
Created March 15, 2015 04:14
Show Gist options
  • Save hansrwindhoff/ff94ebf9d92b483e3f93 to your computer and use it in GitHub Desktop.
Save hansrwindhoff/ff94ebf9d92b483e3f93 to your computer and use it in GitHub Desktop.
running node-inspector in windows with just one click
rem you need chrome installed and callable from the command line
rem create a batch or cmd file with these three lines, install node-inspector (npm i node-inspector), start the batch
start "" /D"." node --debug-brk app.js
start "" /D"." node .\node_modules\node-inspector\bin\inspector.js &
start chrome http://127.0.0.1:8080/debug?port=5858
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment