Skip to content
stherrienaspnet edited this page Mar 25, 2017 · 68 revisions

How to debug mocha tests using WebStorm IDE

How to debug mocha tests using WebStorm IDE

mocha debug configuration View full-screen image

To enable debugging of the tests we must assign parameters when using mocha. 
For ease of use we define these parameters by default for the project.

Replace the <install-location> path with your project path.

To run all the tests do not forget to have an instance of MongoDB operational.

Clone this wiki locally