How to debug angular app using angular-cli webpack?

后端 未结 6 1535
孤城傲影
孤城傲影 2020-11-29 01:14

I used angular-cli@1.0.0-beta.10 before and now I updated to angular-cli@webpack beta.11. After a lot of custom changes I got it to work.

The only thing is that now

6条回答
  •  孤独总比滥情好
    2020-11-29 01:33

    What finally helped me was to add an additional / (forward slash) after webpack:///, so that there are 4 instead of 3. By default there were 3 forward slashes

    The remote URL points to the same parent directory as on the left except the webpack://// schema.

    Also you don't need to enable the TS compiler as often suggested.

    • MacOS
    • Angular-CLI 2.4.1
    • WebStorm 2016.3

提交回复
热议问题