Karma Webstorm Debug Test - Breakpoint Missed

I installed the chrome stream meninges

I have such tests:

describe('Service tests', function () { beforeEach(module('app')); it('should have a Service', inject(function($injector) { var exist = $injector.has('dataService'); 

etc.

but you won’t be able to get breakpoints to hit anywhere in the tests. I can cause the debugger to break when I write the debugger, but it cannot pass.

+6
source share
1 answer

Do you have karma coverage configured in your karma configuration? It uses tool code, so debugging is not possible. Related tickets: http://github.com/karma-runner/karma/issues/630 , http://youtrack.jetbrains.com/issue/WEB-8443

+8
source

All Articles