diff options
| author | DanielGavin <danielgavin5@hotmail.com> | 2022-09-19 00:43:54 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-09-19 00:43:54 +0200 |
| commit | 836a53e543d95d3aedae0be7eb7a769f830c8d66 (patch) | |
| tree | a558b7557b369f88bb7a374bfddc7425cc563269 /editors/vscode/src/debug.ts | |
| parent | b4dafb21e5ace34940242a515cfe08f663dbc832 (diff) | |
| parent | 40cf5a9ba4890c08c88616cbbbe29d51f7a8d582 (diff) | |
Merge pull request #151 from flplv/fix-debug
[vscode] Fix debugging in vscode ide
Diffstat (limited to 'editors/vscode/src/debug.ts')
| -rw-r--r-- | editors/vscode/src/debug.ts | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/editors/vscode/src/debug.ts b/editors/vscode/src/debug.ts index 7cf4b89..f386be0 100644 --- a/editors/vscode/src/debug.ts +++ b/editors/vscode/src/debug.ts @@ -42,6 +42,7 @@ function getLldbDebugConfig(executable: string): vscode.DebugConfiguration { request: "launch", name: "test debug", program: executable, + cwd: vscode.workspace.workspaceFolders?.[0].uri.path }; } @@ -51,5 +52,6 @@ function getCppvsDebugConfig(executable: string): vscode.DebugConfiguration { request: "launch", name: "test debug", program: executable, + cwd: vscode.workspace.workspaceFolders?.[0].uri.path }; }
\ No newline at end of file |