GuillaumeDua / CppShelf

Collection of powerfuls - C++ Single-Header Libraries Files
https://guillaumedua.github.io/CppShelf/
MIT License
9 stars 1 forks source link

[csl] vscode universal debug runner #192

Open GuillaumeDua opened 6 months ago

GuillaumeDua commented 6 months ago
{
            "name": "(gdb) Attach",
            "type": "cppdbg",
            "request": "attach",
            "program": "/proc/${command:pickProcess}/exe",
            "processId": "${command:pickProcess}",
            "MIMode": "gdb",
            "setupCommands": [
                {
                    "description": "Enable pretty-printing for gdb",
                    "text": "-enable-pretty-printing",
                    "ignoreFailures": true
                },
                {
                    "description": "Set Disassembly Flavor to Intel",
                    "text": "-gdb-set disassembly-flavor intel",
                    "ignoreFailures": true
                }
            ]
        },
        {
            "name": "(lldb) Attach",
            "type": "lldb",
            "request": "attach",
            "program": "/proc/${command:pickProcess}/exe",
            "pid": "${command:pickProcess}",
        },