vscode-pythonCpp
vscode-pythonCpp copied to clipboard
"Please make sure you have a configurations with the names..."
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?
I have the same issue - can't reuse configs with either pythonLaunchName or cppAttachName.
As workaround I found undocumented options entireCppConfig and entirePythonConfig they requre just copy of your config as value.