Debug Tests in NG Test

前端 未结 5 721
我在风中等你
我在风中等你 2021-01-31 02:12

I am using Angular CLI and VSCode but none of my breakpoints in my spec files seem to be getting hit when I run ng test?

Do I need to do some config?

5条回答
  •  感情败类
    2021-01-31 02:40

    In the new release of VSCode (1.14.0) they follow this recipe:

    You can debug the Angular App entirely ( including the unit tests ), the recipe is straightforward.

提交回复
热议问题