Relative Content

Tag Archive for node.jstypescriptvisual-studio-codedebuggingnpm

Launching Node project through NX console prevents VScode debugging

I have a basic web project where I launch my simulation with NX console by going to the “Big N” in the left menu in Visual Studio Code, serve, development, and clicking the play button. This causes the server to start on the local host port 3000. If the simulator is not running, then I can set breakpoints in my typescript code. However, when the simulator does run, and I try to set a break point I get an “unbound breakpoint” that is gray. I’ve read many SO threads about this which all point to setting sourceMaps, this doesnt work for me possibly because of using NX console to launch the simulation. I’ve already tried restarting VScode and clicking F5.