If I start node with, say, --debug-brk, and step past some require()s at the top of the file in node-inspector, the newly-in-scope files aren’t loaded. Later, if I step into a function loaded from one of these requires, I lose the program counter and the debugger controls become disabled; there’s nothing more I can do.
Has anyone run into a workaround for this kind of situation? Some way to make node-inspector load more files?
I see the same thing. I have noticed that if I stop node-inspector and then starts it again (so it reattaches to the node process I was debugging), then it shows some other files.
It seems there is some problem with requires :-(
load new script on break if missing.
Refreshing the page will also retrieve all loaded scripts.