提交 e02148a3 编写于 作者: I isidor

Take the type from the process since the debug extension might overwrite it

fixes #21316
上级 d672ffad
......@@ -834,6 +834,10 @@ export class DebugService implements debug.IDebugService {
setTimeout(() => {
// Read the configuration again if a launch.json exists, if not just use the inmemory configuration #19366
const config = this.configurationManager.getConfiguration(process.configuration.name);
if (config) {
// Take the type from the process since the debug extension might overwrite it #21316
config.type = process.configuration.type;
}
this.createProcess(config || process.configuration).then(() => c(null), err => e(err));
}, 300);
})
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册