Skip to content

[Proposal] - Can we add a DebugAdaptorProvider (or something similiar) into the BuildServerCapabilities? #145

@ckipp01

Description

@ckipp01

While working on sbt BSP integration in Metals, I came a across a use case that having something like DebugAdaptorProvider or something similar in BuildServerCapabilities would have been quite useful. I noticed that in the #135 a canReload was added which is useful for the client to check to see if the server implements it before requesting it. In Metals we generate code lenses to trigger debug runs, and after seeing the reload pr my instinct was to check to see if the build server was a DAP provider via checking the BuildServerCapabilities before generating them. However, looking at #99 it seems that wasn't part of the pr.

Would it be possible to adapt the spec a bit to include something like this for clients to ensure a build server implements it before sending in a debugSession/start?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions