-
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
Configured debug type 'python' is installed but not supported in this environment. #17952
Comments
Same problem on windows + Anaconda. Debug works when using the top-right 'debug' button, fails in debug panel using launch.json file |
Hi @lutuantai95 and @ZeningLin, thank you for reaching out. I can reproduce the issue with 2021.12.1436712109-dev, although you can ignore the warning for now, it is still possible to debug your Python file despite the warning. Do you get any warnings about shell resolution when you start VS Code? The issue seems to come from this line Line 1490 in 5f46b3d
If I remove the |
No shell resolution warnings found in my case. Debug works after python plug-in reinstallation although the warning is still there. |
Filed upstream: microsoft/vscode#136712 Edit: Opened a feature request: microsoft/vscode#136897 |
Yes, i could still debug despite warning. I didn't see any warnings about shell resolution. |
Pls, see my comment on #18024, |
I solved this problem after I activated conda |
Fixed upstream in VS Code, this problem doesn't happen anymore in version 1.63.0-insider, commit 6a25ae3, date 2021-11-16T05:13:23.962Z |
@kimadeline When does vscode(v1.63) release offically? |
1.63 will be released in early December, most likely in the week after December 3rd. You can keep track of the work being done on VS Code's iteration plan: microsoft/vscode#136630 |
Strange the message |
I have used for 9 months VS Code and This error is appeard suddenly. |
Please see my comment above, it is an issue in VS Code, not the Python extension. You can either use the Insiders version of VS Code until 1.63 gets released, or downgrade to an older version of VS Code. |
Verification steps:
{
"name": "Python: Current File",
"type": "python",
"request": "launch",
"program": "${file}",
"console": "integratedTerminal"
},
|
to add configuration: RUN - Add Configuration. (then copy there JSON you need). |
/verified |
I have this same problem with debug and also when I wanna run the simple script in python (for example print('hello'), How is there someone who know how to solved this problem please help us :). I work on MacBook (I do not know if this information is nesesery) |
VS Code version
1.62.0
Extension version
v2021.11.1422169775
OS type
Linux
OS version
Linux x64 5.11.0-38-generic snap
Python distribution
Anaconda
Python version
3.8.10
Language server
Default
Expected behaviour
Disappear warning message:
Configured debug type 'python' is installed but not supported in this environment.
Actual behaviour
Warning message appeared:
Configured debug type 'python' is installed but not supported in this environment.
Image:
https://gyazo.com/321d41d7d8afa3d04514564f96019401
Steps to reproduce
print("hello")
Configured debug type 'python' is installed but not supported in this environment.
Logs
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: