-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fail to launch debug with multiprocessing #9607
Comments
@emailweixu
You have to reload after adding the settings. Check the Python logs to make sure you are added to the experiments:
If you want to make it work using the old debugger, you can do it using this work around: |
@karthiknadig Thanks. Your suggestion works. But I wonder why changing ~/.vscode-server/extensions/ms-python.python-2020.1.58038/experiments.json into the following does not work:
|
@emailweixu that is a back up file in-case extension cannot access the file here in the repo. This is so that if we want to turn off an experiment we can do it globally. The Opt-in / Opt-out settings take precedence over the |
Environment data
"python.jediEnabled"
set to; more info How to update the language server to the latest stable version #3977):Expected behaviour
Able to launch debug. I suspect it might be caused by the use of ptvsd_laucher.py, which is supposed to be outdated. But I have no idea why ptvsd_launcher.py is selected instead of new_ptvsd. I even tried changing the experiment groups for DebugAdapterFactory and PtvsdWheels37 in ~/.vscode-server/extensions/ms-python.python-2020.1.58038/experiments.json. But still not able to debug.
Actual behaviour
Get error:
Steps to reproduce:
Logs
Output from
Terminal
The text was updated successfully, but these errors were encountered: