Skip to content

"Please make sure you have a configurations with the names..." #31

@Linusnie

Description

@Linusnie

Hi, I have a launch.json with the following configurations:

        {
            "name": "pydebug",
            "type": "debugpy",
            "request": "launch",
            "program": "${file}",
            "console": "integratedTerminal"
        },
        {
            "name": "Python C++ Debug",
            "type": "pythoncpp",
            "request": "launch",
            "pythonLaunchName": "pydebug",
            "cppAttachName": "(gdb) Attach",
        },

And I'm trying to run a .py file with a single print statement. However, when I run the Python C++ Debug configuration I get a popup with the following message:

Please make sure you have a configurations with the names 'pydebug' in your launch.json file.

Which is confusing since a configuration with that name does exist. Any idea what the problem could be?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions