Description
From @JasonGoemaat on September 27, 2017 23:45
Environment data
VS Code version: 1.17.0-insider
Python Extension version: 0.7.0
Python Version: 3.6.2
OS and version: Windows 10
Actual behavior
Program debugs in terminal (either integrated or external) and a prompt not in the source appears when the program is finished:
Press any key to continue . . .
After pressing a key, either A) External terminal closes or B) Integrated terminal returns to the command prompt. At the same time an error pops up at the top of the visual studio code window that I have to close:
[Error] Debug adapter process has terminated unexpectedly
Expected behavior
After program has finished and I press a key, no error message is displayed
Steps to reproduce:
- Create sample python file, i.e. "print('Hello, world')"
- Debug the file using either the external or integrated terminals
Logs
Output from Python
output panel
Output from Console window
(Help->Developer Tools menu)
Debug adapter process has terminated unexpectedly messageService.ts:125
e.doShow @messageService.ts:125
e.show @rawDebugSession.ts:104
_.onServerExit @rawDebugSession.ts:526
(anonymous) @rawDebugSession.ts:440
emitTwo @events.js:111
emit @events.js:194
__dirname.ChildProcess._handle.onexit @internal/child_process.js:215
Copied from original issue: DonJayamanne/pythonVSCode#1250