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

Steps to reproduce

  1. Installing exention on vscode (https://marketplace.visualstudio.com/items?itemName=ms-python.python)
  2. Create hello.py with simple code; print("hello")
  3. 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}"
        }
    ]
}
  1. 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

Most upvoted comments

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