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
@@ -342,12 +342,12 @@ Depending on your program, its inputs, and how you want to debug it, you'll need
342
342
343
343
#### Edit `launch.json` program
344
344
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}"`.
346
346
```json
347
347
{
348
-
"program": "${workspaceFolder}/main.exe",
348
+
"program": "${workspaceRoot}/main.exe",
349
349
...
350
-
"cwd": "${workspaceFolder}",
350
+
"cwd": "${workspaceRoot}",
351
351
}
352
352
```
353
353
{: data-highlight="2,4" }
@@ -392,7 +392,7 @@ To run a program with options or arguments in VS Code, edit `launch.json`. Each
0 commit comments