-
Notifications
You must be signed in to change notification settings - Fork 181
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
I post this from the issue: microsoft/vscode-python#12481 (comment)
Environment data
- debugpy version: 1.0.0b11
- OS and version: Windows_NT x64 10.0.17763
- Python version (& distribution if applicable, e.g. Anaconda): 3.6.7
- Using VS Code or Visual Studio: VS Code
- VS Code version: 1.46.1 (user setup)
- commit: cd9ea6488829f560dc949a8b2fb789f3cdc05f5d
- use remote WSL: Ubuntu-18.04
Actual behavior
After running python debug execution, Server[6] disconnected unexpectedly Server[pid=5450] disconnected unexpectedly appear.
(It's after finishing the code, so I can use remote debugging)
Expected behavior
There is no error
Steps to reproduce:
code with multiprocessing
try_multiprocess.py
from multiprocessing import Pool
import debugpy
print(debugpy.__version__)
def f(x):
return x*x
if __name__ == '__main__':
with Pool(5) as p:
print(p.map(f, [1, 2, 3]))launch.json
{
"name": "try multiprocess",
"type": "python",
"request": "launch",
"program": "${workspaceFolder}/try_multiprocess.py",
"console": "integratedTerminal",
"justMyCode": false,
}
Push the debug execution button on VS Code, and the code itself works properly, but the errors
Server[6] disconnected unexpectedly Server[pid=5450] disconnected unexpectedly appear.
$ cd /home/noymer/program/sandbox ; env /usr/bin/python3 /home/noymer/.vscode-server/extensions/ms-python.python-2020.6.89148/pythonFiles/lib/python/debugpy/launcher 57561 -- /home/noymer/program/sandbox/try_multiprocess.py
1.0.0b11
[1, 4, 9]
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working
