forked from DonJayamanne/pythonVSCode
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Closed
Labels
area-debuggingbugIssue identified by VS Code Team member as probable bugIssue identified by VS Code Team member as probable bug
Description
Environment data
- VS Code version: 1.29.1
- Extension version (available under the Extensions sidebar): 2018.11.0
- OS and version: OSX 10.14.1
- Python version (& distribution if applicable, e.g. Anaconda): 3.6
- Type of virtual environment used (N/A | venv | virtualenv | conda | ...): conda
Expected behaviour
Debugger should launch the program and start debugging
Actual behaviour
Launch sends only half contents to terminal and freezes. If you do a control C and relaunch debugger it runs smoothly. The issue happens only if the integrated terminal is created for the first time. When it reuses the exiting terminal, there is no issue.
Steps to reproduce:
- Have a some what long content in envfile. Something like below
.env
testenv1=testvar_testvar_testvar_testvar_testvar_testvar_testvar_testvar1
testenv2=testvar_testvar_testvar_testvar_testvar_testvar_testvar_testvar2
testenv3=testvar_testvar_testvar_testvar_testvar_testvar_testvar_testvar3
testenv4=testvar_testvar_testvar_testvar_testvar_testvar_testvar_testvar4
testenv5=testvar_testvar_testvar_testvar_testvar_testvar_testvar_testvar5
testenv6=testvar_testvar_testvar_testvar_testvar_testvar_testvar_testvar6
testenv7=testvar_testvar_testvar_testvar_testvar_testvar_testvar_testvar7
testenv8=testvar_testvar_testvar_testvar_testvar_testvar_testvar_testvar8
testenv9=testvar_testvar_testvar_testvar_testvar_testvar_testvar_testvar9
- Set this file as
envFilein yourlaunch.jsonand start debugging. - First time it hangs. Only half the contents are transferred to terminal.
- Do a ctrl + C and relaunch the debugging, it runs smoothly.
michalmau
Metadata
Metadata
Assignees
Labels
area-debuggingbugIssue identified by VS Code Team member as probable bugIssue identified by VS Code Team member as probable bug
