提交 5c1c4b7c 编写于 作者: I isidor

fixes #43133

上级 173af8fa
...@@ -757,7 +757,9 @@ export class DebugService implements debug.IDebugService { ...@@ -757,7 +757,9 @@ export class DebugService implements debug.IDebugService {
return this.createProcess(root, config, sessionId); return this.createProcess(root, config, sessionId);
} }
return TPromise.wrapError(new Error(nls.localize('invalidConfig', "Launch configuration provided does not have the mandatory `type` field."))); if (launch) {
return launch.openConfigFile(false, type).done(undefined, errors.onUnexpectedError);
}
}) })
).then(() => wrapUpState(), err => { ).then(() => wrapUpState(), err => {
wrapUpState(); wrapUpState();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册