I'm using Visual Studio Code and I'm not able to debug a nodejs through it.
If I put a breakpoint anywhere in my app.js and start the debug, it works, but when I already have it in the browser and move to another route, for example, nothing happens. Updating the page as it gets on the root (/) route, also nothing happens. It is only triggered the first time.
I'm now starting to use nodejs + visual studio code and would like to know if anyone could guide me and explain how the debug works.