07-21-2023, 04:02 PM
I have an app built in node.js and I use the node inspector in order to debug.
But it's quite hard because of this:
1. My breakpoints are never saved after I restart the server
2. I cannot put a breakpoint on a file that has not loaded yet; so I have to step into from the first script to the one I want; REALLY PAINFULL!
How do you really debug node.js with node inspector?
The videos on how to use node.js are quite misleading as everything is into a module...
or this one the scripts appear are already loaded in the first script
## Edit: ##
Nobody can answer this question? :s
But it's quite hard because of this:
1. My breakpoints are never saved after I restart the server
2. I cannot put a breakpoint on a file that has not loaded yet; so I have to step into from the first script to the one I want; REALLY PAINFULL!
How do you really debug node.js with node inspector?
The videos on how to use node.js are quite misleading as everything is into a module...
or this one the scripts appear are already loaded in the first script
## Edit: ##
Nobody can answer this question? :s