5 ms·
The author linked to a post of mine for debugging Node with Chrome DevTools I agree that it's a little frustrating. But a few months ago, the `ndb` project lau
by paulirish 8y ago
The author linked to a post of mine for debugging Node with Chrome DevTools I agree that it's a little frustrating. But a few months ago, the `ndb` project launched with a phenomenally better user experience for this: https://github.com/GoogleChromeLabs/ndb https://github.com/GoogleChromeLabs/ndb
It has child processes support, easy Ctrl-R hotkey to restart your node, breakpoints can be placed anywhere, and nice default blackboxing of node internals. Worth a spin.
- newsbinator 8y ago'ndb' is so, so much better. You've just put something amazing in front of me. Thank you!!
- emilsedgh 8y agoRead the article and came back to mention `ndb`. Cannot emphasis how easy it is to debug with it. If you're using node, do yourself a favor and `npx ndb` next time you wanna debug something.