API: expose debug console; fixes #36753

This commit is contained in:
Andre Weinand
2017-10-24 13:03:05 +02:00
parent fa4c5561c9
commit af809a59db
5 changed files with 62 additions and 2 deletions

View File

@@ -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