You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I haven't found docs around usage of go.testEnvFile and go.testEnvVars,
but I instinctively expected them to behave similarly to how env and envFile work in launch.js: Variables are loaded from .env, but if explicitly set by testEnvVars, this value will prevail over .env value
I haven't found docs around usage of
go.testEnvFileandgo.testEnvVars,but I instinctively expected them to behave similarly to how
envandenvFilework inlaunch.js: Variables are loaded from.env, but if explicitly set bytestEnvVars, this value will prevail over.envvaluehttps://code.visualstudio.com/docs/nodejs/nodejs-debugging#_load-environment-variables-from-external-file-node
To Reproduce
# .env FOO=1 BAR=2main_test.go
Result
Run Testin vscode