What to do with the ws url from Node –inspect?

Posted in Uncategorized

Tweet This Share on Facebook Bookmark on Delicious Digg this Submit to Reddit

So you run …

node –inspect index.js

and you get an URI that starts with ws.  What to do with it?

Copy and paste it in the following URL in your browser replacing the xxx with the ws (web socket) uri.

chrome-devtools://devtools/bundled/inspector.html?v8only=true&ws=xxx

Now you can debug Node in your browser.