/nodejs-demos

Node.js examples and demo code, just as reference or documentation

Primary LanguageJavaScript

Node.js examples, demos and tests just as reference and doc

Install node and npm

To install node in Ubuntu click here

For other platforms click here

Setup your debugging environment

npm install node-inspector (and optional npm install v8-profiler) will install the node-inspector module, perfect for step-by-step debug of node.js programs

Now run node-inspector & and start your node app as node --debug-brk app.js; open the page http://127.0.0.1:8080/debug?port=5858 on a webkit-based browser and see the magic.

If you want, you can use my nodebug that launch node-inspector, the application and google chrome in debug mode