You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
...
LC_CTYPE=en_CA.UTF-8
SETTING=1
WINDOWID=96468997
zsh: command not found: 34:ln=01
zsh: command not found: 36:mh=00:pi=40
zsh: command not found: 33:so=01
zsh: command not found: 35:do=01
zsh: command not found: 35:bd=40
zsh: command not found: 33
zsh: command not found: 01:cd=40
zsh: command not found: 33
zsh: command not found: 01:or=40
...
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.
#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
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: