You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/setup_vscode_macos.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -349,12 +349,12 @@ Depending on your program, its inputs, and how you want to debug it, you'll need
349
349
350
350
#### Edit `launch.json` program
351
351
352
-
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}"`.
352
+
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}"`.
353
353
```json
354
354
{
355
-
"program": "${workspaceFolder}/main.exe",
355
+
"program": "${workspaceRoot}/main.exe",
356
356
...
357
-
"cwd": "${workspaceFolder}",
357
+
"cwd": "${workspaceRoot}",
358
358
}
359
359
```
360
360
{: data-highlight="2,4" }
@@ -399,7 +399,7 @@ To run a program with options or arguments in VS Code, edit `launch.json`. Each
0 commit comments