This document provides an example of how you can configure vscode to debug unit tests with Intern 4.
You will need to edit your .vscode/launch.json
in the root of your project and follow the example JSON below.
Then edit your package.json
file to add the debug script like in the example below.
You can find a configuration sample for Intern 3 here
There is more documentation of the launch.json
at Debugging,
including if you have a build step that you want to run before launching the debugger.
You should be able to set breakpoints and step through your tests and code.
Breakpoints not being triggered though for either unit or functional.