Angular uses webpack and all type script files are listed under it. To select your target typescript file, Chrome's Developer tool (F12). Go to Source tab,
Select Chrome "webpack://"->"src/app" -> your typescript file.
Or in older version of chrome follow this path "webpack://"->"."->"src/app" -> your typescript file ( See the image file).
Or Ctrl+P to locate your file(as suggested by fergal_dd)
Then set the debug line marker on ts file and use normal java script keyboard(F8, F10, F11 etc) feature to debug it.

How to debug AngularJS in Chrome Browser - Stack Overflow
VSCode Debugging with Angular
Simple Methods for Debugging Angular Applications
Cannot debug Angular 18 from VSCode
Videos
Angular uses webpack and all type script files are listed under it. To select your target typescript file, Chrome's Developer tool (F12). Go to Source tab,
Select Chrome "webpack://"->"src/app" -> your typescript file.
Or in older version of chrome follow this path "webpack://"->"."->"src/app" -> your typescript file ( See the image file).
Or Ctrl+P to locate your file(as suggested by fergal_dd)
Then set the debug line marker on ts file and use normal java script keyboard(F8, F10, F11 etc) feature to debug it.

Steps:
- Open Chrome's Developer tool F12.
- Press Ctrl+P in Chrome Dev Tools to search a TS file and open it.
Also, you can copy the filename from the code and paste it in the search inputbox.
This is the best approach.
For Debug AngularJS in chrome you can use AngularJS Batarang.
Here is the Link for description and Demo:
Introduction of Angular JS Batarang
Download chrome plugin from here: chrome plugin for debug AngularJS
What about Chrome Developer Tools? In Chrome you don't need any extension..
See https://developers.google.com/chrome-developer-tools/ for reference.
There also exists a special Extension for debugging AngularJS: https://chrome.google.com/webstore/detail/angularjs-batarang/ighdmehidhipcmcojjgiloacoafjmpfk
Hello! I am a developer whose team is moving to Angular for the rewrite of our web application. I am going through training, and wanted to test some basic debugging through VSCode. I have been having some issues: If I set a breakpoint in VSCode, the browser starts just spinning, and becomes unresponsive, requiring me to kill the browser.
A new coworker of mine, who has worked with Angular in the past, says that there is no way to step through Angular in VSCode, something that I believe to be false through reading other online developer's experiences. I was also told that I should "just use console.log instead of browser debugging capabilities." (Somewhat irrelevant, but a head-scratcher)
But, right now I am having this block with debugging Angular with VSCode. I'm using just a template app from ng New and putting a breakpoint in app.component.ts where title gets set.
I am in development mode, and I'm using msedge.
Is there anything I'm missing, or is it really impossible to debug an Angular app through VSCode? I can sometimes get breakpoints to work temporarily through the javascript debugging terminal.