Skip to content

Commit 808e7af

Browse files
committed
fix: change workspaceFolder to workspaceRoot to reflect changes in CodeLLDB extension
1 parent dedbf72 commit 808e7af

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

docs/images/vscode_macos_034b.png

-32.9 KB
Loading

docs/setup_vscode_macos.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -342,12 +342,12 @@ Depending on your program, its inputs, and how you want to debug it, you'll need
342342

343343
#### Edit `launch.json` program
344344

345-
If you already have a working `launch.json` and want to debug a different program, edit the `program` field `launch.json`. Your `program` name might be different. Make sure `cwd` is set to `"${workspaceFolder}"`.
345+
If you already have a working `launch.json` and want to debug a different program, edit the `program` field `launch.json`. Your `program` name might be different. Make sure `cwd` is set to `"${workspaceRoot}"`.
346346
```json
347347
{
348-
"program": "${workspaceFolder}/main.exe",
348+
"program": "${workspaceRoot}/main.exe",
349349
...
350-
"cwd": "${workspaceFolder}",
350+
"cwd": "${workspaceRoot}",
351351
}
352352
```
353353
{: data-highlight="2,4" }
@@ -392,7 +392,7 @@ To run a program with options or arguments in VS Code, edit `launch.json`. Each
392392
"configurations": [
393393
{
394394
...
395-
"program": "${workspaceFolder}/main.exe",
395+
"program": "${workspaceRoot}/main.exe",
396396
"args": ["HCMST_ver_3.04.tsv", "q24_met_online", "1", "0", "ppage"],
397397
...
398398
}
@@ -414,7 +414,7 @@ To configure input redirection, edit `launch.json` ([docs](https://github.com/va
414414
"configurations": [
415415
{
416416
...
417-
"program": "${workspaceFolder}/main.exe",
417+
"program": "${workspaceRoot}/main.exe",
418418
"stdio": ["main_test.in", null, null],
419419
...
420420
}

0 commit comments

Comments
 (0)