-
In
karma.conf.js
:browsers = ['Chrome'];
-
In your failing spec:
it('spec', function() { debugger; // This is like setting a breakpoint // ... });
- Run Karma.
- Go to the newly opened Chrome Browser, open the console and refresh the page.
Now in Chrome’s Developer Tools source tab you should see the execution stopped at the debugger.