i need to setup environment variable in visual code IDE for the project.
i try in the launch.json like that:
“configurations”: [
{
“name”: “Launch”,
“type”: “go”,
“request”: “launch”,
“mode”: “auto”,
“program”: “${fileDirname}”,
“env”: {“GCP_PROJECT”:“example” },
“args”: []
}
]
but in os.Getenv(“GCP_PROJECT”) it return empty string.
please help!