promote 'startDebugging' and remove 'startDebugSession' from debug API

This commit is contained in:
Andre Weinand
2017-07-25 21:49:46 +02:00
parent 25b919c54d
commit 56cfb2754a
5 changed files with 24 additions and 32 deletions

View File

@@ -195,8 +195,8 @@ export class ExtHostApiCommands {
]
});
this._register('vscode.startDebug', (configuration?: any) => {
return this._commands.executeCommand('_workbench.startDebug', configuration);
this._register('vscode.startDebug', (configuration?: any, folderUri?: URI) => {
return this._commands.executeCommand('_workbench.startDebug', configuration, folderUri);
}, {
description: 'Start a debugging session.',
args: [