add API to access DAP breakpoints; see #99716

This commit is contained in:
Andre Weinand
2020-08-17 12:28:51 +02:00
parent 652a432f59
commit c233bf87bc
8 changed files with 61 additions and 0 deletions

View File

@@ -957,6 +957,10 @@ export class ExtHostDebugSession implements vscode.DebugSession {
public customRequest(command: string, args: any): Promise<any> {
return this._debugServiceProxy.$customDebugAdapterRequest(this._id, command, args);
}
public getDebugProtocolBreakpoint(breakpoint: vscode.Breakpoint): vscode.DebugProtocolBreakpoint | undefined {
return this._debugServiceProxy.$getDebugProtocolBreakpoint(this._id, breakpoint.id);
}
}
export class ExtHostDebugConsole implements vscode.DebugConsole {