Answer the question
In order to leave comments, you need to log in
Node js debugging in Visual Studio 19 not working correctly?
The breakpoint doesn't hit anywhere except in the app.js file (which is both the first one and which starts the server).
The console starts, writes "Debugger listening... Debugger attached." etc.
The browser is opened, the home page is loaded, there is no stop at the breakpoint.
It will only work if you put it again (debug is still active), and reload the page.
An interesting point is that on another computer (windows 7) with the same version of VS and components, everything works fine.
The studio was demolished and rebuilt. The computer turned on and off.
OS - windows 10
On the Internet, such errors occurred only for those who debugged in VS Code.
What could be the problem and solution?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question