4 ms·
Have you by chance found how to do that with babel-node? It seems that after introducing a built-in chrome protocol debugger node-inspector was abandoned and n
by gear54rus 9y ago
Have you by chance found how to do that with babel-node?
It seems that after introducing a built-in chrome protocol debugger node-inspector was abandoned and now I can't figure out how to use the built-in debugger with babel-node.
- paulirish 9y agoI just tested and it looks like `babel-node --inspect` works fine. However `--inspect-brk` does require this small PR: https://github.com/babel/babel/pull/5785 https://github.com/babel/babel/pull/5785 And FWIW, my written guide here captures the basics that Seth covered in the video: https://medium.com/@paul_irish/debugging-node-js-nightlies-with-chrome-devtools-7c4a1b95ae27 https://medium.com/@paul_irish/debugging-node-js-nightlies-w...