There are following way to debut node.js application:-
- node-inspector:-
Install:- npm install -g node-inspector
Run:- node-debug app.js - Debugging:-
- Debugger
- Node Inspector
- Visual Studio Code
- Cloud9
- Brackets
- Profiling:-
node --prof ./app.js
node --prof-process ./the-generated-log-file - Heapdumps:- node-heapdump with Chrome Developer Tools
- Tracing:- Interactive Stack Traces with TraceGL
- Logging:- Libraries that output debugging information
- Caterpillar
- racer
- scribbles
- Libraries that enhance stack trace information