提交 885c30ac 编写于 作者: D Dirk Baeumer

Fixes #29922: Starting Debug with a preLauch task referenced from an npm...

Fixes #29922: Starting Debug with a preLauch task referenced from an npm script fails when launching the second time
上级 14ae6bbc
......@@ -857,7 +857,7 @@ export class DebugService implements debug.IDebugService {
}
// task is already running - nothing to do.
if (this.lastTaskEvent && this.lastTaskEvent.taskName === taskName) {
if (this.lastTaskEvent && (this.lastTaskEvent.taskName === taskName || 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.
先完成此消息的编辑!
想要评论请 注册