I followed the official documentation: https://code.visualstudio.com/docs/nodejs/angular-tutorial#_debugging-angular
- Created a new Angular app using
ng new my-app. - Opened the app in VSCode.
- Checked if the app runs:
ng serve. All good. - Installed Debugger for Chrome
- Added launch.json configuration as instructed
- Pressed F5 to start debugging...
According to the documentation it must launch the app and hit my breakpoints. Instead, I get this:
I have no idea why this is not working. Please advise. Thanks.
Also, why do we need this extension?
Looks like the debug module is built-in now in VSCode, and does exactly the same:
but is not working either (here I disabled the extension and used built-in debugger):



