Skip to content
Node.js examples and demo code, just as reference or documentation
JavaScript Shell
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
23-express-faye-pub-sub
24-express-nowjs
26-express-https-server
27-files
install
.gitignore
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
19-telnet-server.js
20-sencha-connect-simple-server.js
21-sencha-express-simple-server.js
22-syslog-module.js
25-uuid-module.js
27-oauth-twitter-authentication.js
28-user-agent-module.js
29-http-get-page-title.js
30-logging.js
31-uglify.js
32-express-vhost.js
33-twitter-stream.js
34-node-mailer.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

Something went wrong with that request. Please try again.