Replies: 2 comments 22 replies
-
No, it is not possible. We made the change to
|
Beta Was this translation helpful? Give feedback.
-
I've read these comments over and over again and still don't understand what's going on. I just want to be able to click the debug icon on the side and have it debug like before. Is there a way to do that? |
Beta Was this translation helpful? Give feedback.
-
CLI has changed in Vitest 1.0.0-beta resulting in broken Vitest debugging in IntelliJ / WebStorm (WEB-64001), because IntelliJ / WebStorm still passes
--threads=false
when debugging tests as it did for Vitest 0.x.Honestly, I don't remember why it passes
--threads=false
in the first place, because debugging seems to be working without this option.What would the correct way to start Vitests for debugging? For example, all of the following ways work for me:
--poolOptions.threads.singleThread
--pool forks
as suggested in https://vitest.dev/guide/debugging.html#intellij-ideaI'd prefer to not pass any CLI options (i.e. take the 1st way), unless you know some scenarios where it might not work.
Also, it'd be great if you could postpone releasing Vitest 1.0.0 until IntelliJ / WebStorm 2023.3.1 with the fix is released (ETA: late December). Is it possible? Thanks.
Beta Was this translation helpful? Give feedback.
All reactions