Skip to content

Debug Launch Failed with healthy setup #11233

Open
@pixelpicosean

Description

@pixelpicosean

I've set up for Zig with CodeLLDB as the debugger.

Health check:

Configured language servers:
  ✓ zls: /usr/local/bin/zls
Configured debug adapter: codelldb
Binary for debug adapter: /usr/local/bin/codelldb
Configured formatter: zig
Binary for formatter: /usr/local/bin/zig
Highlight queries: ✓
Textobject queries: ✓
Indent queries: ✓

language.toml

[[language]]
name = "zig"
auto-format = false

[language.debugger]
command = "codelldb"
name = "codelldb"
port-arg = "--port {}"
transport = "tcp"

[[language.debugger.templates]]
name = "binary"
request = "launch"

[[language.debugger.templates.completion]]
completion = "filename"
name = "binary"

[language.debugger.templates.args]
program = "{0}"
runInTerminal = true

But it prints the following error message while I try to launch a debug session:
Failed to start debug session: IO Error: Connection refused (os error 61)

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-debug-adapterArea: Debug adapter clientC-bugCategory: This is a bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions