forked from DonJayamanne/pythonVSCode
-
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
Python / envFile in launch.json causes issues #149
Labels
bug
Issue identified by VS Code Team member as probable bug
Milestone
Comments
From @weinand on July 19, 2017 18:50 The Python debugger is not part of VS Code. I'll move the issue. |
brettcannon
added
awaiting 1-verification
bug
Issue identified by VS Code Team member as probable bug
labels
Nov 14, 2017
DonJayamanne
added a commit
that referenced
this issue
Nov 22, 2017
#249) - Fixes #25, #32, #35, #235, #242 (unable to run without debugging using CTRL+F5) - Fixes #191, #158, #24, #136 (error message displayed when debugged code terminates) - Fixes #157 (debugger crashes when python program does not launch) - Fixes #114, #149, #250 (use vscode infrastructure to launch debugger in integrated and external terminals) - Fixes #239 Remove prompt added to pause terminal upon program completion
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
From @weinand on July 19, 2017 18:50
From @blitzd on July 19, 2017 18:13
(1 theme extensions excluded)
Steps to Reproduce:
launch.json
script.py
Run the Python debug for script.py
The console is set to integratedTerminal as the debug console will otherwise swallow the output. On my own system the output first lists all of the my shell ENV variables, then again iterates them one at a time. It looks like it dies when it hits the LS_COLORS and is interpreting the internal
=
as a split between an environment variable key and value:I have also tried with the shell set to
/bin/bash
with the same result.Reproduces without extensions: Unable to check as the python extensions are required for the python debug.
Workaround: Removing the .envFile setting from the launch.json profile resolves the issue, or otherwise setting the values in the launch.json .env setting also avoids the problem - so it seems there is some difference in how the .envFile settings are being applied over the ones in .env.
Copied from original issue: microsoft/vscode#31065
Copied from original issue: DonJayamanne/pythonVSCode#1104
The text was updated successfully, but these errors were encountered: