Replies: 2 comments 1 reply
-
Vitest uses vitest/packages/vitest/src/runtime/inspector.ts Lines 8 to 21 in 0c13c39 Currently |
Beta Was this translation helpful? Give feedback.
-
I have the same situation as @Guid75; my test process runs in a docker container. It would be incredibly helpful to be able to debug it in that environment. As @AriPerkkio pointed out, the node
These arguments determine the port and host to which the inspector will bind. By default, the host is With these arguments, vitest could implement the same command-line syntax as node itself. |
Beta Was this translation helpful? Give feedback.
-
Hi,
Wondering why vitest does not allow to pass host and port to --inspect and --inspect-brk flags like nodejs does.
My process is running on a docker container and I need to pass "0.0.0.0" instead to "127.0.0.1" in order to access it from my debugger.
Beta Was this translation helpful? Give feedback.
All reactions