Debugging Node/TypeScript App Breakpoints Not Hit
I've looked at all the answers on here I could find that were similar to my problem and I haven't been able to crack this yet. I've got a Node/TypeScript app I'm trying to run the debugger on and can't get any breakpoints to hit.
Here are my tsconfigs (from left to right, the app's tsconfig and the two it extends).

And here is my debug config:

The node app starts up fine in the debugger, but any breakpoints I set remain gray and never hit. If I place console logs in the app I can see them in the debug console when I hit the proper endpoint. Any idea what I'm doing wrong here?
Please sign in to leave a comment.
It should work... We don't recommend using ts-node binary as Node.js interpreter, adding
--require ts-node/registerto the Node parameters: field instead is the recommended practice; but it should still work using both ways if the sourcemaps are enabled.What your you trying to debug - your server code (main.ts), or a client-side app run in browser and served by your server?
Well, a simple IDE restart seems to have solved it. Occam's razor ;)