Skip to content

Make lldb debug work to debug with cpp and rust #5705

@gengjiawen

Description

@gengjiawen

Repo: https://github.com/gengjiawen/node-debug
Gitpod: https://gitpod.io/#https://github.com/gengjiawen/node-debug

debug config:

{
    "version": "0.2.0",
    "configurations": [
        {
            "type": "lldb",
            "initCommands":["settings set target.disable-aslr false"],
            "request": "launch",
            "name": "Debug",
            "program": "node",
            "args": ["hello.js"],
            "cwd": "${workspaceFolder}"
        }
    ]
}

Current status: not working

'A' packet returned an error: 8

Working container config: "runArgs": [ "--cap-add=SYS_PTRACE", "--security-opt", "seccomp=unconfined" ], https://github.com/gengjiawen/node-debug/blob/f1aaeea4aed61a037f28397aa11d907525ce35fc/.devcontainer/devcontainer.json#L13

I think fixing vscode-lldb on gitpods will bring debug native language (c, cpp, rust) to the next level.

Related:

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions