- node-inspector
- node-webkit-agent
- node-codein
npm install -g node-inspectornode --debug server.jsnode-inspector- Navigate to http://localhost:8080/debug?port=5858
- Surprisingly slow
- Full Chrome debugger (breakpoints, inspecting on hover, watching, call stacks, etc).
{ devDependencies: "node-webkit-agent": 0.0.4 }npm installrequire("node-webkit-agent");node server.jskill -SIGUSR2 <node pid>- Navigate to http://c4milo.github.com/node-webkit-agent/19.0.1084.46/inspector.html?host=localhost:1337&page=0 (0.6.x) or http://c4milo.github.com/node-webkit-agent/21.0.1180.57/inspector.html?host=localhost:8080&page=0 (0.8.x)
- Implements the webkit developer tools protocol
- Author of node-inspector (Danny Coates) wants you to use it
- Not fully implemented (by far). Implements CPU and Heap profiling, but not "normal" debugging tools.
{ devDependencies: "node-codein": "1.0.1" }npm installrequire("node-codein");node server.js- Navigate to http://localhost:55281
- That's it? Only a console.
- Slow.