Skip to content

Getting Started from scratch

daslicht edited this page May 18, 2014 · 6 revisions

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 :)

  • sudo apt-get install git-core g++ libssl-dev autoconf
  • create a source directory
    1. mkdir ~/code
    2. cd ~/code
  • download node
    1. git clone http://github.com/ry/node.git
    2. git checkout v0.3.0; (or latest stable branch)
    3. cd node
    4. ./configure
    5. make
    6. make install
    7. cd ..
  • download node-inspector
    1. git clone http://github.com/dannycoates/node-inspector.git
    2. cd node-inspector
    3. npm install
    4. node bin/inspector.js &
    5. 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
    1. git log -1
Clone this wiki locally