Up until now, one has used the Node Inspector in order to debug Node.js server applications right within Chrome DevTools, which is a pretty neat feature! However, version 6.5 of Node changes the game. Support for debugging via DevTools is now built into Node itself, and Node Inspector should no longer be needed. In fact, Node Inspector is actually broken with Node 6.5.0 as I found out for myself.
In order to debug your Node app in Chrome DevTools, use the options ‘–inspect’ (enable inspection) and ‘–debug-brk’ (enable debug mode and break on first statement to allow the inspector to catch up) to Node, for example:
node --inspect --debug-brk .
Then Node should present you with a chrome-devtools:// type of URL that you should open in a compatible browser (Chrome/Opera) in order to launch a DevTools debugging session of your app. Pretty cool!