This section describes the procedures that are common for various types of applications.
Customizable breakpoint properties: conditions, pass count, etc.
Frames, variables, and watches views in the debugger UI.
If you want to see the list of all currently debugging applications, select Run | Show Running List from the main menu. Refer to the Viewing Running Processes section for details.
Define a run/debug configuration for the application to be debugged.
Create a breakpoint. To create a breakpoint, select the code line that you want to examine and click an area in the gutter near the line number.
Click the Debug icon ( ). Read more about debugging sessions in Starting the Debugger Session.
Pause or resume the debugging session as required.
During the debugger session, step through the breakpoints, evaluate expressions, change values on-the-fly examine suspended program, and set watches .
See Debugging CoffeeScript, TypeScript, and Using Pub for details.
After you've started a debug session, the icon that marks the Debug tool window toggles to to indicate that the debug process is active.
After you have configured a run configuration for your project, you can launch it in debug mode by pressing Shift+F9.
In the Debug tool window you can see the list of frames and threads with their states, variables and watches. When you select a frame, you see the variables corresponding to the selected frame.
To customize breakpoint settings, press Ctrl+Shift+F8. To see all breakpoints in the project (with additional settings), click More or press the same shortcut Ctrl+Shift+F8 again.
Use action breakpoints to evaluate a variable at a particular line of code without suspending code execution. To create an action breakpoint, click the gutter while pressing Shift.
To create a breakpoint that stops only once, click the left gutter while holding Shift+Alt. For more information, refer to the section Breakpoint types.
To disable a breakpoint, click the breakpoint while pressing Alt. Refer to the section Enabling, Disabling and Removing Breakpoints for details.
To stop code execution at the cursor position without adding another breakpoint, click the Run to cursor icon( ) or press Alt+F9.
The icon is described in the toolbar reference of the Debug tool window.
To add a colored label to an instance, press F11 or the context menu in the Variables and Watches tabs.
While in debug mode, you can evaluate any expression by pressing Alt+F8.
Refer to the section Evaluating Expressions for details.
To change debugger settings, click File | Settings. In the Settings menu, click Build, Execution, Deployment | Debugger.