-
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
Python debugging not working again #12485
Comments
Many people seem to be running into this (including myself). Similar symptoms as you describe. It seems to have to do with a change in the debugger which they are running AB tests on. SymptomsMy own Error Message says: My setupcode-server: v3.4.1 The following seem related issues:code-server (which uses vs-code)coder/code-server#1818 Possibly related command 'python.setInterpreter' not found
Workaround: What seems to help is:
Another solution to keep an eye on is editing the experiments.json file to switch off the AB testing (or to configure it the way you want) This json file controls the AB testing. For specific tests, it defines "branches" and probabilities (min and max) for picking that branch. Sometime there are multiple branches, often just 2. The names indicated what is legacy (control) and what is experimental. As I wanted to have the legacy options, I set min-max as 0-100 for the control (i.e. legacy) code and min-max as 0-0 for the experiments. I based this on this post: #12484 Note: The OP of issue #12484 wanted to go 100% for the experimental version. I went the other way. The file name (and partial path): The settings I went with: [ |
I ran into the same issue while debugging a Flask REST application in WSL1 (pipenv), with the latest version of the extension - v2020.6.89148. I'm using the REST Client extension (0.24.1) to debug. After fiddling around with a bunch 'python.xxx' user settings I finally got it to work, for the time being, using the following User settings:
Though I'm not sure if venvPath setting had any real impact but it was added, nonetheless. BTW, the option to "Install Another Version" returned "Server returned 404". Hope this helps. |
i just reinstall the extension and it works again. thanks guys |
For those having this issue: #7927 I tried everything and even this #7836 (comment) but nothing worked for me. After spending hours troubleshooting what worked for me was to delete some folders in my workspace. Not sure what the problem was but that fixed my problem. |
I have the same problem, it started not working yesterday, after I created a launch.json file to add |
Environment data
Version: 1.46.1 (user setup)
Commit: cd9ea6488829f560dc949a8b2fb789f3cdc05f5d
Date: 2020-06-17T21:13:20.174Z
Electron: 7.3.1
Chrome: 78.0.3904.130
Node.js: 12.8.1
V8: 7.8.279.23-electron.0
OS: Windows_NT x64 10.0.10240
Type Issue : BUG
same issue like #7927. i've checked my extension and it has already newest but python debugging still not working.
The text was updated successfully, but these errors were encountered: