The Karma website
A browser is needed to execute js. Using Chrome we need a JetBrains plugin
Now create a Karma configuration in webstorm with the "Run/Debug Configurations" window.
It is needed to tell Webstorm the
karma.conf.js file to pick.
Select karma in the run/debug config combo box.
Keep the unit test source code file selected in WS.
Add some breakpoints.
Clic on the debug button (or
MAJ + F9)