Closed
Description
According to the dap spec:
/**
* An optional expression for conditional breakpoints.
* It is only honored by a debug adapter if the capability 'supportsConditionalBreakpoints' is true.
*/
condition?: string;
Our debug adapter does not set this capability on initialization, but it does appear to support conditional breakpoints (via "Edit Breakpoint"). We should set the capability and add tests for this to solidify the support. This way when the breakpoint is set, it won't have the "!" and an error message on hover, which are misleading because it will actually work.
We would also need to set this correctly in debugAdapter2 as well as it reports capabilities before dlv is launched. This feature has recently been added to dlv-dap (now tracked under #844)