提交 bf939ff0 编写于 作者: I isidor

debug: only check id when launching preLaunchTask

fixes #29928
上级 bbfcefb4
......@@ -857,7 +857,7 @@ export class DebugService implements debug.IDebugService {
}
// task is already running - nothing to do.
if (this.lastTaskEvent && (this.lastTaskEvent.taskName === taskName || this.lastTaskEvent.taskId === task._id)) {
if (this.lastTaskEvent && this.lastTaskEvent.taskId === task._id) {
return TPromise.as(null);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册