Node.js examples and demo code, just as reference or documentation
Switch branches/tags
Nothing to show
Pull request Compare This branch is 12 commits behind straps:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
install
01-hello-world.js
02-interval-sigint.js
03-net-connection-event.js
04-fs-stat-file-modified.js
05-simple-http-server.js
06-streaming-http-server.js
07-child-process-exec.js
08-child-process-spawn-stdin-stdout.js
09-sys-pump.js
10-step-module.js
11-pcap-module.js
12-mdns-module.js
13-postgresql-module.js
14-datejs-module.js
15-dns-resolver.js
16-dns-resolver-web-service.js
17-net-socket.js
18-net-socket-pipe-to-http.js
README.md
nodebug

README.md

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