How do I debug Node.js applications?

node-inspector could save the day! Use it from any browser supporting WebSocket. Breakpoints, profiler, livecoding, etc… It is really awesome.

Install it with:

npm install -g node-inspector

Then run:

node-debug app.js

Leave a Comment