Start Debug Session
Before debugging
Set the breakpoints in the source code.
If necessary, create or modify the corresponding Run/Debug configuration.
The debug session starts with the selected run/debug configuration. Note that several debug processes can be launched simultaneously.
To start debugging an application
- Select the run/debug configuration to execute, and then do one of the following:
Click icon in the left gutter, and then choose .
Click on the toolbar.
On the main menu, go to
.Press Shift+F9.
Invoke the Run Anything dialog by pressing Double Ctrl (or search for Run anything in Ctrl+Shift+A). In the Run Anything dialog, start typing the configuration name, select it from the list, then hold down Shift to switch to Debug mode, and press Enter to debug the selected configuration:
Note that after you've launched a debug session, the icon that marks the Debug Tool Window toggles to to indicate that the debugging process is active.