forked fromDonJayamanne/pythonVSCode
- Notifications
You must be signed in to change notification settings - Fork1.2k
Closed

Description
Environment data
VS Code version: 1.19.2
Python Extension version: 0.9.1
Python Version: 3.6.4
OS and version: Arch Linux(with testing repo)
Actual behavior
Debug adapter process has terminated unexpectedly.
Expected behavior
The debugging process should continue throughout the script execution.
Steps to reproduce:
- Run loop with HTTP requests in Process(parallel requests) and output to the console for each HTTP request (print ("some information about the response")).
- Use configuration for running:
{ "name": "run.py", "type": "python", "request": "launch", "stopOnEntry": true, "pythonPath": "${config:python.pythonPath}", "program": "${workspaceFolder}/run.py", "cwd": "${workspaceFolder}", "env": {}, "envFile": "${workspaceFolder}/.env", "debugOptions": [ "RedirectOutput" ]}
Logs
Output fromPython
output panel
Output fromConsole window
(Help->Developer Tools menu)
/opt/visual-studio-code/resources/app/out/vs/workbench/workbench.main.js:2744 Debug adapter process has terminated unexpectedlye.doShow @ /opt/visual-studio-code/resources/app/out/vs/workbench/workbench.main.js:2744messageService.ts:126 Debug adapter process has terminated unexpectedlye.doShow @ messageService.ts:126e.show @ messageService.ts:105_.onServerExit @ rawDebugSession.ts:535(anonymous) @ rawDebugSession.ts:449emitTwo @ events.js:111emit @ events.js:194__dirname.ChildProcess._handle.onexit @ internal/child_process.js:215console.ts:123 [Extension Host] (node:5326) DeprecationWarning: os.tmpDir() is deprecated. Use os.tmpdir() instead.t.log @ console.ts:123t._logExtensionHostMessage @ extensionHost.ts:391(anonymous) @ extensionHost.ts:211emitTwo @ events.js:106emit @ events.js:194process.nextTick @ internal/child_process.js:766_combinedTickCallback @ internal/process/next_tick.js:73_tickCallback @ internal/process/next_tick.js:104messageService.ts:126 Debug adapter process has terminated unexpectedlye.doShow @ messageService.ts:126e.show @ messageService.ts:105_.onServerExit @ rawDebugSession.ts:535(anonymous) @ rawDebugSession.ts:449emitTwo @ events.js:111emit @ events.js:194__dirname.ChildProcess._handle.onexit @ internal/child_process.js:215