When I debug my node rest api, I try to use node-inspector
node-inspector
node --debug server.js
This way I can debug my api using localhost:3000/api... If I use node-debug, there's no way. It doens't start port 3000.
However my code is ES6, so in my current debug my code is transpiled by Babel.
I've tried to use babel-node-debug but It seems too be the same situation I had with node-debug. I can see ES6 code, but I'm not able to debug through port 3000.
Any workaround?