未验证 提交 1a644e0a 编写于 作者: A Alex Ross

Include root for postDebugTask

Fixes #140003
上级 cddc7dde
......@@ -650,8 +650,9 @@ export class DebugService implements IDebugService {
}
if (session.configuration.postDebugTask) {
const root = session.root ?? this.contextService.getWorkspace();
try {
await this.taskRunner.runTask(session.root, session.configuration.postDebugTask);
await this.taskRunner.runTask(root, session.configuration.postDebugTask);
} catch (err) {
this.notificationService.error(err);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册