make proposed Debug API official; fixes #30096

This commit is contained in:
Andre Weinand
2017-07-04 16:36:59 +02:00
parent 4181c1d3f9
commit ec5b049865
3 changed files with 67 additions and 67 deletions

View File

@@ -463,12 +463,12 @@ export function createApiFactory(
// namespace: debug
const debug: typeof vscode.debug = {
createDebugSession: proposedApiFunction(extension, (config: vscode.DebugConfiguration) => {
createDebugSession(config: vscode.DebugConfiguration) {
return extHostDebugService.createDebugSession(config);
}),
onDidTerminateDebugSession: proposedApiFunction(extension, (listener, thisArg?, disposables?) => {
},
onDidTerminateDebugSession(listener, thisArg?, disposables?) {
return extHostDebugService.onDidTerminateDebugSession(listener, thisArg, disposables);
})
}
};