express-es6-rest-api icon indicating copy to clipboard operation
express-es6-rest-api copied to clipboard

Any suggestion for debugging?

Open ramesaliyev opened this issue 7 years ago • 1 comments

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.

ramesaliyev avatar Sep 12 '16 16:09 ramesaliyev

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

developit avatar Sep 12 '16 17:09 developit