Home > Net >  Cannot Debug Angular 15 app in VS Code on Windows
Cannot Debug Angular 15 app in VS Code on Windows

Time:12-29

I upgraded an existing project to Angular 15 and now I can't debug: "Some of your breakpoints could not be set".

On clicking "troubleshoot your launch configuration" against the unbound breakpoint, and then "Why don't my breakpoints bind", I see

"We couldn't find a corresponding source location, and didn't find any source with the name app.component.ts."

plus

"Make sure you have "sourceMap": true in your tsconfig to generate sourcemaps."

But this is already the case:

    "sourceMap": true,

Other StackOverflow solutions suggest the same: enter image description here

  • Related