提交 b1e83883 编写于 作者: I isidor

debug: do not send request to startSessionCommand

上级 bdee45a4
......@@ -127,7 +127,7 @@ export class StartAction extends AbstractDebugAction {
return configurationPromise.then(configuration => {
const command = manager.getStartSessionCommand(configuration ? configuration.type : undefined);
if (command) {
return this.commandService.executeCommand(command, configuration || { request: 'launch' });
return this.commandService.executeCommand(command, configuration || {});
}
return this.commandService.executeCommand('_workbench.startDebug', configName);
......@@ -726,10 +726,7 @@ export class RunAction extends AbstractDebugAction {
return configurationPromise.then(configuration => {
const command = manager.getStartSessionCommand(configuration ? configuration.type : undefined);
if (command) {
return this.commandService.executeCommand(command, configuration || {
request: 'launch',
noDebug: true
});
return this.commandService.executeCommand(command, configuration || { noDebug: true });
}
if (configuration) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册