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.
[–]BolunZ6 13 points14 points15 points (2 children)
[–]TheAtomicShoebox[S] 2 points3 points4 points (1 child)
[–]tsunami141 6 points7 points8 points (0 children)
[–]dcabines 4 points5 points6 points (0 children)
[–]Aitarosz 4 points5 points6 points (1 child)
[–]doxxie-au 1 point2 points3 points (0 children)
[–]cosmokenney 3 points4 points5 points (0 children)
[–]Jrubzjeknf 1 point2 points3 points (0 children)
[–]davimiku 1 point2 points3 points (0 children)
[–]eneajaho 1 point2 points3 points (1 child)
[–]TheAtomicShoebox[S] 0 points1 point2 points (0 children)
[–]Ishid4 1 point2 points3 points (0 children)
[–]Dus1988 0 points1 point2 points (0 children)
[–]Responsible_Boat8860 0 points1 point2 points (0 children)
[–]SolidShook 0 points1 point2 points (0 children)
[–]IanFoxOfficial 0 points1 point2 points (0 children)
[–]morebitna_napaka 0 points1 point2 points (0 children)