Open jogibear9988 opened 3 months ago
This is how we got it to work for both running and debugging
"jestrunner.jestCommand": "pnpm exec cross-env NODE_OPTIONS=\"--experimental-vm-modules --no-deprecation\" node 'node_modules/jest/bin/jest.js'",
"jestrunner.debugOptions": {
"runtimeArgs": ["--experimental-vm-modules", "--no-deprecation"]
}
Hope that helps!
I'm able to configure the jest runner to add --experimental-vm-modules for the debug comand, but not for run.
My config looks like this:
when I use "debug" the commandline lloks like this:
but when I use the "run" it does not work.
I then tried to add:
but this will not add the --experimental-vm-modules to node, but as a parameter for jest