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?