diff --git a/docs/images/vscode_macos_034b.png b/docs/images/vscode_macos_034b.png index 499df81..f9e11c1 100644 Binary files a/docs/images/vscode_macos_034b.png and b/docs/images/vscode_macos_034b.png differ diff --git a/docs/setup_vscode_macos.md b/docs/setup_vscode_macos.md index fd6728b..8f5b0f9 100644 --- a/docs/setup_vscode_macos.md +++ b/docs/setup_vscode_macos.md @@ -349,12 +349,12 @@ Depending on your program, its inputs, and how you want to debug it, you'll need #### Edit `launch.json` program -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}"`. +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}"`. ```json { - "program": "${workspaceFolder}/main.exe", + "program": "${workspaceRoot}/main.exe", ... - "cwd": "${workspaceFolder}", + "cwd": "${workspaceRoot}", } ``` {: data-highlight="2,4" } @@ -399,7 +399,7 @@ To run a program with options or arguments in VS Code, edit `launch.json`. Each "configurations": [ { ... - "program": "${workspaceFolder}/main.exe", + "program": "${workspaceRoot}/main.exe", "args": ["HCMST_ver_3.04.tsv", "q24_met_online", "1", "0", "ppage"], ... } @@ -421,7 +421,7 @@ To configure input redirection, edit `launch.json` ([docs](https://github.com/va "configurations": [ { ... - "program": "${workspaceFolder}/main.exe", + "program": "${workspaceRoot}/main.exe", "stdio": ["main_test.in", null, null], ... }