Skip to content

Instantly share code, notes, and snippets.

@hansrwindhoff
hansrwindhoff / startnodedebug.bat
Created March 15, 2015 04:14
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
@hansrwindhoff
hansrwindhoff / gist:28c96d487ce7e315fe6c
Last active August 29, 2015 14:17
installing node.js npm modules on windows when c-compiler needs to run (gyp)
If you have visual studio 2013:
npm install node-inspector --msvs_version=2013
or other versions as they are present (2010, 2012,...)
here the output showing the successful build steps: