add root folder to startDebugSession

This commit is contained in:
Andre Weinand
2017-07-24 11:23:30 +02:00
parent 67222edf5d
commit e1e3051d28
5 changed files with 12 additions and 10 deletions

View File

@@ -475,8 +475,8 @@ export function createApiFactory(
startDebugging: proposedApiFunction(extension, (folder: vscode.WorkspaceFolder | undefined, nameOrConfig: string | vscode.DebugConfiguration) => {
return extHostDebugService.startDebugging(folder, nameOrConfig);
}),
startDebugSession(config: vscode.DebugConfiguration) {
return extHostDebugService.startDebugSession(config);
startDebugSession(folder: vscode.WorkspaceFolder | undefined, config: vscode.DebugConfiguration) {
return extHostDebugService.startDebugSession(folder, config);
},
onDidStartDebugSession(listener, thisArg?, disposables?) {
return extHostDebugService.onDidStartDebugSession(listener, thisArg, disposables);