I’ve followed the instructions here, but Doppler environment variables don’t seem to be available to my Python script that I’m launching through VSCode. When I print out os.environ, none of my Doppler environment variables seem to be there.
Here is the launch.json I am using:
"version": "0.2.0",
"configurations": [
{
"name": "Python: Debug File",
"type": "python",
"request": "launch",
"program": "${file}",
"env": {
"DOPPLER_ENV": "dev" // Enable doppler-env to inject env vars
},
"console": "integratedTerminal",
"justMyCode": true
},
{
"name": "Python: Current File",
"type": "python",
"request": "launch",
"program": "${file}",
"env": {
"DOPPLER_ENV": "dev" // Enable doppler-env to inject env vars
},
"console": "integratedTerminal",
"justMyCode": true,
}
]
}