Thomas Sampson


Leave a comment

Debugging NodeJS

Installation (globally via NPM)

npm install -g node-inspector

Launch script under debugger

node-debug app.js

Launch script under debugger (+ break on first line)

node --debug-brk app.js
Advertisements