4 ms·
I am fairly new to node but find that it is hard as heck to debug. node debug index.js seems really weird and not at all like python's pdb. Is there something I
by jtchang 11y ago
I am fairly new to node but find that it is hard as heck to debug. node debug index.js seems really weird and not at all like python's pdb. Is there something I am missing?
- smokeyj 11y agoCheck out node-inspector
- cookiecaper 11y agoNope. node and server-side JS in general is a pretty gross fad.
- ep103 11y agoYeah, there are better debuggers out there for node. Hopefully others will come along and make a list, but there's a number of graphical ones you can find with a little searching. Even visual studio has step through debugging at this point.
- specialist 11y agoTrying to figure out some websocket stuff, I somehow managed to get nodejs, autobahn, and whatnot running locally (client and server) using Jetbrains' WebStorm on a Mac. This tool stack makes me want to knock my teeth out. That WebStorm's debugger (with break points!) works at all is a marvel. Props to the JetBrains team.