diff --git a/docs/images/vscode_macos_031c.png b/docs/images/vscode_macos_031c.png deleted file mode 100644 index 5e685a6..0000000 Binary files a/docs/images/vscode_macos_031c.png and /dev/null differ diff --git a/docs/setup_vscode_macos.md b/docs/setup_vscode_macos.md index 8f5b0f9..e6eb198 100644 --- a/docs/setup_vscode_macos.md +++ b/docs/setup_vscode_macos.md @@ -299,26 +299,19 @@ The examples below assume a source file `main.cpp` compiled to `main.exe` ([Samp Running and debugging code through VS Code requires a `launch.json` configuration file. -
-**Pitfall:** Due to a bug in the CodeLLDB extension, you need to manually start the creation of a launch.json file in your workspace folder. You can use the following commands to do so. **Make sure your current directory is your workspace folder.** - -```console -$ pwd -/Users/awdeorio/eecs280/p1-stats -$ mkdir -p .vscode -$ touch .vscode/launch.json -``` -
- Navigate to the debugging pane and click "create a launch.json file". Or, if you have previous debugging configurations, click the gear icon to edit `launch.json`. | | OR | | -If you are not prompted to select a configuration, or your configuration list does not contain "CodeLLDB: Launch," click "Add configuration..." near the bottom right of the editor window. +If you are prompted to select a debugger, select "CodeLLDB". (Do NOT select "C++ (GDB/LLDB)".) + + - +
+**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. +
-Select "CodeLLDB: Launch". You may need to scroll down to find this option. +If you are prompted to select a configuration, select "CodeLLDB: Launch". You may need to scroll down to find this option.