Skip to content

Configured debug type 'python' is installed but not supported in this environment. #17952

@lutuantai95

Description

@lutuantai95

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

Metadata

Metadata

Assignees

Labels

area-debuggingbugIssue identified by VS Code Team member as probable buginvestigatingWe are looking into the cause of the issueregressionBug didn't exist in a previous releaseverification-neededVerification of issue is requestedverifiedVerification succeeded

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions