I'm trying to pass the variable "foo" which contains the "bar" in the args field, but no syntax seems to work.
I've tried either for the syntax "${foo}" or "${env:foo}".
{
"version": "0.2.0",
"configurations": [
{
"name": "Python: Current File",
"type": "python",
"request": "launch",
"program": "${file}",
"console": "integratedTerminal",
"justMyCode": true,
"env": {
"foo": "bar",
},
"args": [
"${foo}", // output: \$\{foo\}
"${env:foo}" // output: ""
]
},
],
}