This is a maintained listing of all the different ways to debug and profile Node.js applications. If there is something missing or an improvement, post a comment! :)
npm install -g profilernode --prof this will create a v8.log filenprof by running /Users/balupton/.nvm/v0.8.22/lib/node_modules/profiler/tools/build-nprof/Users/balupton/.nvm/v0.8.22/lib/node_modules/profiler/nprof this will read the v8.log profile and give you nice ouputnpm install nodetimerequire('nodetime').profile()npm install -g node-inspector@0.1.10node --debug-brk your/node/program.jsnode-inspectornpm install webkit-devtools-agentagent = require('webkit-devtools-agent')kill -SIGUSR2 <your node process id>ab -n 100000 -c 1 http://127.0.0.1:9778/