07-21-2023, 11:25 AM
How do I debug a Node.js server application?
Right now I'm mostly using *alert debugging* with print statements like this:
sys.puts(sys.inspect(someVariable));
There must be a better way to debug. I know that [Google Chrome][1] has a command-line debugger. Is this debugger available for Node.js as well?
[1]:
Right now I'm mostly using *alert debugging* with print statements like this:
sys.puts(sys.inspect(someVariable));
There must be a better way to debug. I know that [Google Chrome][1] has a command-line debugger. Is this debugger available for Node.js as well?
[1]:
[To see links please register here]