Vscode-java-debug: envFile option for debugger in launch mode

Created on 8 Jan 2019  路  2Comments  路  Source: microsoft/vscode-java-debug

This is an enhance requirement.
When configuring the debug in launch.json for launch mode. And envFile option will be helpful instead of key in all the env variables.
envFile option has been supported in c#, python, nodejs... debuggers.

feature request

Most helpful comment

.env is commonly used for storing envs esp. for credentials. If specified in env instead of envFile, the credentials are uploaded to GitHut along with launch.json. That's risky and inconvenient.

All 2 comments

Yes, this feature is needed, we use .env for docker-compose and I hope we could reuse the file when debugging in VSCode

.env is commonly used for storing envs esp. for credentials. If specified in env instead of envFile, the credentials are uploaded to GitHut along with launch.json. That's risky and inconvenient.

Was this page helpful?
0 / 5 - 0 ratings