debug angular-cli project

how to debug angular-cli project when i am running into live server by ng serve

0
35 comments

mapping for root looks OK; please remove mappings for 'dist'; and don't forget to refresh browser page once application is loaded.

If this doesn't help, please provide a project that shows up the issue

0

Unfortunately it did not help.

If could please check my project: https://dl.dropboxusercontent.com/u/6601197/angular-debug-test.zip

It is a default angular-cli project. Please let me know if this is working for you.

0

If checkmarks are there, then the sourcemaps are likely loaded successfully. Try refreshing browser page once application is loaded - are any of breakpoints hit?

 

 

0

Hi Elena,

I managed to get it to work. I look likes I had to disable and enable the breakpoints after editing the Launch Configuration.

0

I got it working thanks to this stackoverflow answer: http://stackoverflow.com/a/39518508/21548.

Basically, you have to map both the project and the src directory.

1

Please sign in to leave a comment.