Getting Started from scratch (original) (raw)
On Ubuntu (lucid or maverick)
Please don’t be offended by the explicit commands, I know you know them already, but my dad doesn’t :)
- download and install chrome
- sudo apt-get install git-core g++ libssl-dev autoconf
- create a source directory
- mkdir ~/code
- cd ~/code
- download node
- git clone http://github.com/ry/node.git
- git checkout v0.3.0; (or latest stable branch)
- cd node
- ./configure
- make
- make install
- cd ..
- download node-inspector
- git clone http://github.com/dannycoates/node-inspector.git
- cd node-inspector
- npm install
- node bin/inspector.js &
- node —debug test/hello.js
- OR if you are familiar with npm. sudo npm install node-inspector
node-inspector &
node —debug path/to/yourprogram.js - browse to http://127.0.0.1:8080/debug?port=5858 in chrome
- if you can’t get javascript source to pop up, send me an email
- git log -1