Node.js - jehe/vigilant-waddle GitHub Wiki

Install Node.js

Make sure you have internet connection and open up the terminal on the RPi.
Installing an ARM-version of Node has become very easy
wget http://node-arm.herokuapp.com/node_latest_armhf.deb
sudo dpkg -i node_latest_armhf.deb
To make sure it ran correctly, run node -v.
It should return the current version.

upgrade Node.js

sudo npm cache clean -f
sudo npm install -g n
sudo n stable
node -v

remote debug Node module

IntelliJ IDEA

node --debug=5858 main.js -->RPi
https://www.jetbrains.com/help/idea/2016.1/run-debug-configuration-node-js-remote-debug.html?origin=old_help

Visual Studio

https://channel9.msdn.com/Blogs/BeLux-Developer/NodeJs-remote-debugging-using-NTVS