Start/pause/stop debug session
Set 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.
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.
Select Run | Debug 'selected configuration' from the main menu.
Press ShiftF9.
Invoke the Run Anything dialog by pressing Ctrl (or search for Run anything in Help | Find Action CtrlShift0A).
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 Debug tool window icon () toggles to
indicating that the debugging process is active.
note
As an alternative to using Run Anything, press AltShiftF9, select the configuration from the list, and press Enter.
In the main menu, go to Run | Debugging Actions | Pause Program.
Click
on the Debug toolbar.
In the main menu, go to Run | Debugging Actions | Resume Program.
Click
on the Debug toolbar.
Press F9.
Click the Stop button on the toolbar of the Debug tool window. Alternatively, press CtrlF2 and select the process to terminate (if there are two or more of them).
Thanks for your feedback!