https://code.visualstudio.com/docs/editor/debugging#_launch-configurations
For example it all uses node not c/c++ which seems to have some different options. I see things like "processId": "${command:pickProcess}",
but I don't see any documentation for what other things you could use command for. Can you have a command that picks your executable? Or do you have to have configurations for each executable you might want to debug?
I hit the same issue and found this thread, VS Code updated the launch.json
attributes docs here: https://code.visualstudio.com/docs/editor/debugging#_launchjson-attributes