If mocha is set to run in parallel mode, then breakpoints in test code fail to be hit. This is because mocha itself tries to run tests using worker pool, while debugger is waiting on main mocha thread.
Parallel mode in general does not make sense while trying to debug tests using this extension. Ignoring parallel mode setting while running the tests in debug mode fixes the breakpoint problem.
If mocha is set to run in parallel mode, then breakpoints in test code fail to be hit. This is because mocha itself tries to run tests using worker pool, while debugger is waiting on main mocha thread.
Parallel mode in general does not make sense while trying to debug tests using this extension. Ignoring parallel mode setting while running the tests in debug mode fixes the breakpoint problem.