6 comments
Comment actions Permalink

Debugging angular works out of the box for me.

Can you recreate the issue using a new Angular Cli app? What IDE version do you use?

0
Comment actions Permalink

I am using the last version of everything, ultimate. Anyway I made it work following this guide https://itnext.io/debugging-your-angular-application-in-intellij-idea-411a9b08759f

0
Comment actions Permalink

Strange - normally Remote URL mappings are not required to debug Angular apps served by ng serve.

Neither the  JetBrains IDE Support Chrome extension is required (if you have it installed, I'd actually recommend turning it off in Settings | Build, Execution, Deployment | Debugger | Live Edit as it's unstable and not up-to-date)

2
Comment actions Permalink

Thanks for the info. You're right, the chrome extension doesnt seem to be needed. I guess that I had to first "Run Angular CLI Server", and then "Debug Angular Application"... ( https://www.jetbrains.com/help/webstorm/angular.html )

Instead I was just doing "Debug CLI Server" (....)

0
Comment actions Permalink

> I guess that I had to first "Run Angular CLI Server", and then "Debug Angular Application"... ( https://www.jetbrains.com/help/webstorm/angular.html )

Yes, sure - "Run Angular CLI Server" starts the app (by running ng serve), and "Debug Angular Application" opens the browser, attaching the debugger to page. These steps are described in https://blog.jetbrains.com/webstorm/2017/01/debugging-angular-apps/...

1
Comment actions Permalink

In the help link (not the blog article) it's explained, and formatted, better. So harder to miss, especially when speedreading and in a hurry

0

Please sign in to leave a comment.