D
D
d83b382019-05-23 03:10:11
Debugging
d83b38, 2019-05-23 03:10:11

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. 5ce5e337aee7a897484255.png
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 question

Ask a Question

731 491 924 answers to any question