Here’s how to get up and running.
(Post updated May 2017)
You can install manually, use nvm to install the latest:
nvm install node, or even use node-nightly to get a fresh nightly build.
3. Run node with the
▸ node --inspect index.js
You can also break on the first statement of the script with
▸ node --inspect --debug-brk index.js
(In node v7+, you can use
--inspect-brk for this inspect & pseudo-breakpoint combo.)
Next, you used to open the big
chrome-devtools:// URL it spits out, but don’t. Now there’s a better way…
about:inspect in Chrome
It’ll redirect you to
... read the whole story at medium.com.