Skip to content

Debugging ServerCode using node inspector

Vitaly Vengrov edited this page Mar 20, 2016 · 2 revisions

Install node-inspector

npm install -g node-inspector

Start the Node Inspector server

node-inspector

Start CodeRunner Node.js process with debug flag

node --debug node_modules/.bin/coderunner 

Load the debugger UI

Open http://127.0.0.1:8080/?port=5858 in the Chrome browser

Node Inspector works almost exactly as the Chrome Developer Tools :

example

Clone this wiki locally