Closed actboy168 closed 6 years ago
You can send capabilities "later" as a Capabilities event. This was introduced in the February release. Please see https://code.visualstudio.com/updates/v1_21#_debug-adapter-protocol
What capabilities do you want to send later?
I tested supportSetSetVariable
and supportsConditionalBreakpoints
and both failed.
The order I send is InitializeResponse
,CapabilitiesEvent
,InitializedEvent
. And they should be send at the same time.
You can send the CapabilitiesEvent
at any time, but currently the VS Code implementation only honours the "supportsStepBack" capability. Please file an issue for the unsupported capabilities at https://github.com/Microsoft/vscode/issues.
I need to do a remote debugger, so the capabilities should be told me by the debugger at the remote.But I can only know where the remote debugger is after
LaunchRequest
orAttachRequest
. However,LaunchRequest
orAttachRequest
can only be received afterInitializeResponse
is returned.I tried
CapabilitiesEvent
, butsupportSetSetVariable
andsupportsConditionalBreakpoints
could not be changed. I just sentCapabilitiesEvent
afterInitializeResponse
.Is there any other way to deal with this problem?