Skip to content

Cpp debug attach to process not working in VScode 1.17.2 on Mac #1218

@echosys

Description

@echosys

Hi, I am trying to attach to a process for cpp and following some documentation I learned that I need to add "processId": "${command.pickProcess}"
But I get "Property processId is not allowed
"
and a green line. I have tried install and reinstall vscode and the cpp extension with no difference.

Here are my configs.
{
"version": "0.2.0",
"configurations": [
{
"name": "(lldb) Launch",
"type": "cppdbg",
"request": "launch",
"program": "${workspaceRoot}/a.out",
"args": ["<testa8t.txt"],
"stopAtEntry": false,
"cwd": "${workspaceRoot}",
"environment": [],
"externalConsole": true,
"osx": {
"MIMode": "lldb"
},
"processId": "${command.pickProcess}"
}
]
}

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions