From 22bf3b7faad71c527b1d9892b13704f8a3b61b7d Mon Sep 17 00:00:00 2001 From: Hiroyuki Hasebe <16788901+levi106@users.noreply.github.com> Date: Thu, 6 Feb 2025 20:45:56 +0900 Subject: [PATCH] add before the relative path of the project folder --- src/wizards/debugging/TaskCreator.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wizards/debugging/TaskCreator.ts b/src/wizards/debugging/TaskCreator.ts index 2c59307d..84e17f88 100644 --- a/src/wizards/debugging/TaskCreator.ts +++ b/src/wizards/debugging/TaskCreator.ts @@ -150,7 +150,7 @@ export class TaskCreator { } if (!FsUtils.isSameDirectory(this.workspaceFolder.uri.fsPath, this.projectFolder)) { - taskDefinition.options = { cwd: path.relative(this.workspaceFolder.uri.fsPath, this.projectFolder) }; + taskDefinition.options = { cwd: path.join("${workspaceFolder}", path.relative(this.workspaceFolder.uri.fsPath, this.projectFolder)) }; } return taskDefinition;