mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-24 02:28:34 +01:00
API: expose debug console; fixes #36753
This commit is contained in:
@@ -489,6 +489,9 @@ export function createApiFactory(
|
||||
get activeDebugSession() {
|
||||
return extHostDebugService.activeDebugSession;
|
||||
},
|
||||
get console() {
|
||||
return extHostDebugService.debugConsole;
|
||||
},
|
||||
startDebugging(folder: vscode.WorkspaceFolder | undefined, nameOrConfig: string | vscode.DebugConfiguration) {
|
||||
return extHostDebugService.startDebugging(folder, nameOrConfig);
|
||||
},
|
||||
@@ -506,7 +509,7 @@ export function createApiFactory(
|
||||
},
|
||||
registerDebugConfigurationProvider(debugType: string, provider: vscode.DebugConfigurationProvider) {
|
||||
return extHostDebugService.registerDebugConfigurationProvider(debugType, provider);
|
||||
},
|
||||
}
|
||||
};
|
||||
|
||||
// namespace: credentials
|
||||
|
||||
Reference in New Issue
Block a user