How do I debug a Jasmine spec run with Testacular (Karma)?

后端 未结 3 1368
礼貌的吻别
礼貌的吻别 2021-02-19 22:31

I have a small project with Jasmine specs and I am using Testacular as my test runner. I don\'t understand how I can debug, both the app code or the spec code. When I try to set

3条回答
  •  遥遥无期
    2021-02-19 22:37

    You can use the statement debugger; by itself, and Chrome will break on that statement as long as the developer tools panel is open and breakpoints are enabled.

提交回复
热议问题