diff --git a/docs/images/vscode_macos_032.png b/docs/images/vscode_macos_032.png
deleted file mode 100644
index fa5140b3..00000000
Binary files a/docs/images/vscode_macos_032.png and /dev/null differ
diff --git a/docs/images/vscode_macos_033.png b/docs/images/vscode_macos_033.png
new file mode 100644
index 00000000..e3cfb500
Binary files /dev/null and b/docs/images/vscode_macos_033.png differ
diff --git a/docs/images/vscode_macos_034b.png b/docs/images/vscode_macos_034b.png
index f9e11c1a..552a62e7 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 e6eb198f..a287db79 100644
--- a/docs/setup_vscode_macos.md
+++ b/docs/setup_vscode_macos.md
@@ -311,14 +311,18 @@ If you are prompted to select a debugger, select "CodeLLDB". (Do NOT select "C++
**Pitfall:** VS Code may not offer you debugging options for C++ if you haven't opened a `.cpp` file in your project editor. Open a `.cpp` file, then try again.
-If you are prompted to select a configuration, select "CodeLLDB: Launch". You may need to scroll down to find this option.
+You may be prompted with an autocomplete box. It may look like this, or it might have different options.
-
+
-Edit the `program` field in `launch.json`. Save the updated file. Your `program` name might be different.
+Choosing an option from this box is unnecessary, so you should make it disappear by pressing the left or right arrow key on your keyboard.
+
+Edit the `program` and `cwd` fields in `launch.json`. Ensure that all occurences of `workspaceRoot` are replaced with `workspaceFolder`.
+Save the updated file. Your `program` name might be different.
+
### Launch Debugger
@@ -342,12 +346,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 `"${workspaceRoot}"`.
+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}"`.
```json
{
- "program": "${workspaceRoot}/main.exe",
+ "program": "${workspaceFolder}/main.exe",
...
- "cwd": "${workspaceRoot}",
+ "cwd": "${workspaceFolder}",
}
```
{: data-highlight="2,4" }
@@ -392,7 +396,7 @@ To run a program with options or arguments in VS Code, edit `launch.json`. Each
"configurations": [
{
...
- "program": "${workspaceRoot}/main.exe",
+ "program": "${workspaceFolder}/main.exe",
"args": ["HCMST_ver_3.04.tsv", "q24_met_online", "1", "0", "ppage"],
...
}
@@ -414,7 +418,7 @@ To configure input redirection, edit `launch.json` ([docs](https://github.com/va
"configurations": [
{
...
- "program": "${workspaceRoot}/main.exe",
+ "program": "${workspaceFolder}/main.exe",
"stdio": ["main_test.in", null, null],
...
}