We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Assumes test-runner is installed and you are in the project folder.
Place a debugger statement in your test:
debugger
tom.test('Example', async () => { debugger })
Run test-runner using Node.js directly with the --inspect-brk flag set:
test-runner
--inspect-brk
$ node --inspect-brk node_modules/.bin/test-runner
Open Google Chrome and navigate to chrome://inspect/.
In the "Remote Target" section, click "Inspect" on the test-runner target.
In DevTools, click "run" to start test-runner. Execution will pause at the debugger statement.