debug: finalize debugFocus API (#212190)

Closes #63943
This commit is contained in:
Connor Peet
2024-05-07 10:30:08 -07:00
committed by GitHub
parent c4653faeb1
commit 6e009e0537
4 changed files with 57 additions and 71 deletions

View File

@@ -1244,9 +1244,6 @@ export function createApiFactoryAndRegisterActors(accessor: ServicesAccessor): I
return extHostDebugService.breakpoints;
},
get activeStackItem() {
if (!isProposedApiEnabled(extension, 'debugFocus')) {
return undefined;
}
return extHostDebugService.activeStackItem;
},
registerDebugVisualizationProvider(id, provider) {
@@ -1273,7 +1270,6 @@ export function createApiFactoryAndRegisterActors(accessor: ServicesAccessor): I
return _asExtensionEvent(extHostDebugService.onDidChangeBreakpoints)(listener, thisArgs, disposables);
},
onDidChangeActiveStackItem(listener, thisArg?, disposables?) {
checkProposedApiEnabled(extension, 'debugFocus');
return _asExtensionEvent(extHostDebugService.onDidChangeActiveStackItem)(listener, thisArg, disposables);
},
registerDebugConfigurationProvider(debugType: string, provider: vscode.DebugConfigurationProvider, triggerKind?: vscode.DebugConfigurationProviderTriggerKind) {