Skip to content

Debugger: Failed to send request to LSP proxy #210

@sedax90

Description

@sedax90

Relevance Confirmation

  • I confirmed that this is not an issue with the Eclipse JDT Language Server itself

What happened?

I've a task configured for debug:

  {
    "label": "Attach to Java app",
    "adapter": "Java",
    "request": "attach",
    "hostName": "localhost",
    "port": 5005,
  },

But when I lauch this it stops immediatly with:

error: "Failed to start debug session: Failed to start debug session via LSP: Failed to send request to LSP proxy: error sending request for url (http://localhost:33871/)\n\nCaused by:\n    0: client error (Connect)\n    1: tcp connect error\n    2: Connection refused (os error 111)"

What did you expect to happen?

Debugger should attach to current running Java application like vscode.

Environment

Zed: 0.227.1
Platform: Ubuntu 25.04
Java: Amazon Corretto 21

Metadata

Metadata

Assignees

No one assigned

    Labels

    language-serverRelated to the language server.

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions