How to debug Vitest test in the browser?

Viewed 225

I already failed in webstorm: https://youtrack.jetbrains.com/issue/WEB-56836/Vitest-debugging

So what else should I add to debug tests in the browser? I tried node --inspect ./node_modules/vitest/vitest.mjs

If I try the above and have brave://inspect/#devices open the test runs but no breakpoints (via debugger statement) are hit.

0 Answers
Related