WebStorm 2016.3 Help

Debugging JavaScript Unit Tests

Besides simply executing unit tests on the JSTestDriver or Karma without the ability to analyze the problems that arise,
WebStorm provides the ability to debug unit tests just like JavaScript source code.