Providing environment variables from a VS Code extension can be done using ExtensionContext’s environmentVariableCollection.