Open anthonyshew opened 1 week ago
This is likely due to Strict Mode. The vscode-js-debug comment you've linked does seem relevant indeed.
In the meantime, you can run your turbo
invocations with the Loose Mode flag, turbo run <tasks> --env-mode=loose
and that should let through the environment variables required for the debugger to run as desired.
For what it's worth, I had a moment so I went looking for the variable names and can't seem to locate them. If anyone is able to find them, please share!
Do you automatically accept NODE_*
? E.g. NODE_OPTIONS
, NODE_PATH
or NODE_INSPECTOR_INFO
etc? Or maybe even the VSCODE_*
ones?
The VSCODE
ones are what I'm looking for! Where did you find them?
This is likely due to Strict Mode. The vscode-js-debug comment you've linked does seem relevant indeed.
In the meantime, you can run your
turbo
invocations with the Loose Mode flag,turbo run <tasks> --env-mode=loose
and that should let through the environment variables required for the debugger to run as desired.
This works for me. Was experiencing the same issue after upgrading to 2.0.3
Discussed in https://github.com/vercel/turbo/discussions/8388