For example you have a server.js file, and you want to debug some problems;
What you can do is:
node --inspect-brk server.js
Then go to chrome broswer:
chrome://inspect
You will find node.js target and you can use Chrome dev tool to do the debugging.