make session arg optional; fixes #103934

This commit is contained in:
Andre Weinand
2020-08-06 12:53:56 +02:00
parent e0e68a970a
commit 95dcdf2c58
3 changed files with 6 additions and 6 deletions

View File

@@ -870,7 +870,7 @@ export function createApiFactoryAndRegisterActors(accessor: ServicesAccessor): I
}
return extHostDebugService.startDebugging(folder, nameOrConfig, parentSessionOrOptions || {});
},
stopDebugging(session: vscode.DebugSession | undefined) {
stopDebugging(session?: vscode.DebugSession) {
return extHostDebugService.stopDebugging(session);
},
addBreakpoints(breakpoints: vscode.Breakpoint[]) {