1

Most of the articles I've seen on how to debug unit tests with Karma assume you're running Karma in a browser, such as this one I'm running Karma tests with raw node, in my Linux console with PhantomJS.

Is it possible to debug the tests without running them in a browser?

I've also tried using node-inspector but the tests aren't stopping at the debugger; statements I place in them. Running node debug ./path/to/karma start stops the debugger at places in karma's code, but not in my tests.

A. Duff
  • 4,097
  • 7
  • 38
  • 69

0 Answers0