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,