I've got unit tests with coverage working with PhantomJS, running the build from Maven, using the Karma plugin.
I now need to understand how I can debug those unit tests in Chrome or Firefox (and maybe IE). I tried just changing the browser in the Karma config to Chrome or Firefox, and setting "singleRun" to false. In both cases, the browser (testing Firefox right now) starts up, and I get a "Karma" tab that says "Karma v0.10.2 - connected" with a "DEBUG" button. I click the "DEBUG" button and I get a new tab titled "Karma DEBUG RUNNER". At this point, I tried installing Firebug. I can now see that it's loaded my scripts, but it's at this point I see that trying to debug unit tests while running code coverage is impractical.
The other thing that seems odd is that it doesn't seem as if the unit tests are being executed. The browser starts up, but nothing is happening. The shell that I started the build from is blocked on the browser.
I need to figure out the easiest way to temporarily disable code coverage in my build, so debugging unit tests is practical.
Once I figure that out, I'm a little confused about what the operational steps are here. I couldn't find any explicit documentation on what I'm supposed to do here. I know how to use Firebug.