mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-26 03:29:00 +01:00
proposed debug api: add support for custom DAP events
This commit is contained in:
@@ -31,6 +31,11 @@ export class MainThreadDebugService extends MainThreadDebugServiceShape {
|
||||
this._proxy.$acceptDebugSessionActiveChanged(undefined);
|
||||
}
|
||||
}));
|
||||
this._toDispose.push(debugService.onDidCustomEvent(event => {
|
||||
if (event.body && event.body.sessionId) {
|
||||
this._proxy.$acceptDebugSessionCustomEvent(event.body.sessionId, event);
|
||||
}
|
||||
}));
|
||||
}
|
||||
|
||||
public dispose(): void {
|
||||
|
||||
Reference in New Issue
Block a user