Skip to content
Snippets Groups Projects
launch.json 860 B
Newer Older
{
    // Use IntelliSense to learn about possible attributes.
    // Hover to view descriptions of existing attributes.
    // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
    "version": "0.2.0",
    "configurations": [
        {
            "name": "cobc build and debug",
            "type": "cbl-gdb",
            "request": "launch",
            "preLaunchTask": "make",
            "program": "${workspaceFolder}/${fileBasenameNoExtension}",
            "cwd": "${workspaceFolder}",
            "arguments": ""
        },
        {
            "name": "Attach to cobc process with cbl-gdb debugger",
            "type": "cbl-gdb",
            "request": "attach",
            "cwd": "${workspaceFolder}",
            "solibs": "${env:PRIM_LIBRARY_PATH}",
            "process_id": "${command:getAttachPID}"
        }
    ]
}