Skip to content

Commit c3c0d27

Browse files
author
Colin Robertson
authored
Merge pull request MicrosoftDocs#1629 from esweet431/patch-17
Update debug commands
2 parents 429801c + 06c5bd9 commit c3c0d27

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

docs/build/configure-cmake-debugging-sessions.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,11 @@ All executable CMake targets are shown in the **Startup Item** dropdown in the *
99

1010
![CMake startup item dropdown](media/cmake-startup-item-dropdown.png "CMake startup item dropdown")
1111

12-
You can also start a debug session from the CMake menus.
12+
You can also start a debug session from Solution Explorer. First, switch to **CMake Targets View** in the **Solution Explorer** window.
13+
14+
![CMake targets view button](media/cmake-targets-view.png "CMake Targets View menu item")
15+
16+
Then, right-click on any executable and select **Debug** or **Debug and Launch Settings**. **Debug** automatically starts debugging the selected target, based on your active configuration. **Debug and Launch Settings** opens the *launch.vs.json* file and adds a new debug configuration for the selected target.
1317

1418
## Customize debugger settings
1519

0 commit comments

Comments
 (0)