express-es6-rest-api
express-es6-rest-api copied to clipboard
Any suggestion for debugging?
Hi, firstly thanks for boilerplate.
I have tried babel-node-debug with my own boilerplate but it didn't seem to work well to me. Have any suggestions?
Thanks.
I use node-debug (from node-inspector) via babel-node:
npm i -g node-inspector
node-debug ./node_modules/.bin/babel-node src --presets es2015,stage-0
Might be better to debug the transpiled source in dist though:
npm run build
node-debug dist