How can I debug Karma tests?

I've configured my project to run Karma (continuously) from WebStorm 7.0.2 according to the official guide, and I have to say it works well. However, I'm not able to debug. When I right-click karma.conf.js and click Debug karma.conf.js, WebStorm displays the following error: Error running karma.conf.js: No debuggable browser found. I am on Linux Mint 15 64-bit, and have configured Karma to launch Chromium and PhantomJS. What should I do in order to debug my Karma tests?

2 comments
Comment actions Permalink

Unfortunately, you have to capture Chrome (not Chromium) or Firefox to debug karma tests.
The situation will be improved in WebStorm 7.0.3.

0
Comment actions Permalink

Ah thank you, that makes sense. Maybe I'll try Firefox in the meantime.

0

Please sign in to leave a comment.