aboutsummaryrefslogtreecommitdiff
path: root/editors/vscode/src/debug.ts
diff options
context:
space:
mode:
authorDanielGavin <danielgavin5@hotmail.com>2024-12-30 22:20:28 +0100
committerDanielGavin <danielgavin5@hotmail.com>2024-12-30 22:20:28 +0100
commitf53599650dc10ebd9a5cd85313ffff4b7b319be3 (patch)
tree3f6e0362d8dc957d033e0c1a04a55812f420cec6 /editors/vscode/src/debug.ts
parentfded19fc8ede748d31b67686941fbe33a8f77214 (diff)
Add exclude path for workspace symbols.
Diffstat (limited to 'editors/vscode/src/debug.ts')
-rw-r--r--editors/vscode/src/debug.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/editors/vscode/src/debug.ts b/editors/vscode/src/debug.ts
index f386be0..3b9a5fb 100644
--- a/editors/vscode/src/debug.ts
+++ b/editors/vscode/src/debug.ts
@@ -42,7 +42,7 @@ function getLldbDebugConfig(executable: string): vscode.DebugConfiguration {
request: "launch",
name: "test debug",
program: executable,
- cwd: vscode.workspace.workspaceFolders?.[0].uri.path
+ cwd: vscode.workspace.workspaceFolders?.[0].uri.fsPath
};
}
@@ -52,6 +52,6 @@ function getCppvsDebugConfig(executable: string): vscode.DebugConfiguration {
request: "launch",
name: "test debug",
program: executable,
- cwd: vscode.workspace.workspaceFolders?.[0].uri.path
+ cwd: vscode.workspace.workspaceFolders?.[0].uri.fsPath
};
} \ No newline at end of file