-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
env file not loaded if specified in launch.json and python.envFile #7210
Comments
Same here. |
Hello @kodalipraveen and @erlichsefi 👋 Thank you for reaching out! In version 2019.9 of the extension we changed the way we handle 🛑 You don't specify the Can you try setting Thank you! |
Thanks for looking at this issue @kimadeline |
We don't support In your case @kodalipraveen since your env file is already in the default location, I assume you only need to update your |
In my case the same file was being referenced by both the launch.json and python.envFile entries. When this is the case, neither entry is being honoured. It should have loaded the .env file from the python.envFile entry. |
Thank you for the helpful clarification @kodalipraveen 👍 There is a little bit more work and some spec'ing needed to solve this issue, so I will add the |
So if
Now you have to go into settings and modify I'm aware of the |
I'm sorry for the confusion. The envFile option is still supported. @kimadeline /cc |
I have submitted a PR to resolve this issue. |
Thank you all! meanwhile, is there a way to use the previous version of the extension? |
✅ Validated with Insiders build 2019.9.36496:
|
Environment data
"python.jediEnabled"
set to; more info How to update the language server to the latest stable version #3977): Language ServerIssue description
In the latest build, when debugging a python file using integrated terminal, the contents of ".env" file are not being loaded.
This issue is not seen in 2019.8.0. I downgraded to verify that this is a regression issue.
Content of launch.json file
Contents of .env file
The text was updated successfully, but these errors were encountered: