vscode-python: Configured debug type 'python' is installed but not supported in this environment.
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.
Steps to reproduce
- Installing exention on vscode (https://marketplace.visualstudio.com/items?itemName=ms-python.python)
- Create hello.py with simple code;
print("hello")
- Create launch.json with content:
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"name": "Python: Current File (Integrated Terminal)",
"type": "python",
"request": "launch",
"program": "${file}",
"console": "integratedTerminal",
"cwd": "${fileDirname}"
}
]
}
- Open Problem tab on panel, we will see:
Configured debug type 'python' is installed but not supported in this environment.
Logs
No response
Code of Conduct
- I agree to follow this project’s Code of Conduct
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Reactions: 6
- Comments: 17
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
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: https://github.com/microsoft/vscode/issues/136630
Filed upstream: https://github.com/microsoft/vscode/issues/136712
Edit: Opened a feature request: https://github.com/microsoft/vscode/issues/136897