debug angular-cli project vivek tiwary Created August 04, 2016 08:12 how to debug angular-cli project when i am running into live server by ng serve
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
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.
If checkmarks are there, then the sourcemaps are likely loaded successfully. Try refreshing browser page once application is loaded - are any of breakpoints hit?
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.
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.