5

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.

Nikos
  • 7,295
  • 7
  • 52
  • 88

1 Answers1

0

it seems like it is being handled by the vitest team, they might provide a patch soon: https://github.com/vitest-dev/vitest/issues/1867

Leo
  • 23
  • 6