I find those two method to add environment variables.
- add environment variables in
terminal.integrated.env.osx
for terminal。 - add environment variables in
launch.json
for debugging.
But no similar config options for VSCode Process。
Some plugins often need to access specific environmental variables. In this case, I can only set up an environment variables in Terminal.App, and then open through the code command.
I hope to add this environment variable in the VS Code setting file.