# Debug tool window

> For the complete documentation index, see [llms.txt](https://www.jetbrains.com/help/go/2026.3/llms.txt).

> **TL;DR**
> Show/hide: `View | Tool Windows | Debug` or `Alt+5` (Windows), `⌘ 5` (macOS), `⌘ 5` (IntelliJ IDEA Classic (macOS)), `⌘ 5` (macOS System Shortcuts), `Alt+5` (XWin), `Alt+5` (GNOME), `Alt+5` (KDE), `Alt+5` (Emacs), `Alt+5` (Sublime Text), `⌘ 5` (Sublime Text (macOS)), `Ctrl+Shift+Y` (VSCode), `⌘ ⇧ D` (VSCode (macOS))
>
>
>
> Configure: `Settings | Build, Execution, Deployment | Debugger`

## Toolbar

The debugger toolbar contains the most commonly used actions for [controlling the debugger session](starting-the-debugger-session.html) and [stepping](stepping-through-the-program.html).

![The Debugger Toolbar](https://resources.jetbrains.com/help/img/idea/2026.3/go_debugger-toolbar.png)

You can configure the list of actions available on the toolbar according to your preferences.

Procedure: Customize the debugger's toolbar

* To add a debugging action, right-click the debugger toolbar, select Add to Debugger Toolbar from the context menu, and then select the required action from the list.

* To add an action not directly related to debugging, right-click the debugger toolbar, and then select Customize Toolbar from the context menu.

In the dialog that opens, click Add and then select the required action.

This tool window becomes available when you start [debugging](debugging-code.html).

It displays the output generated by the debugging session for your application. If you are debugging multiple [run/debug configurations](run-debug-configuration.html), the output for each configuration is displayed in a separate tab named after the corresponding configuration.

For each configuration, there are the following nested tabs:

* [Console](debug-tool-window-console.html): displays system information and error messages, and the console input and output of your application.

* [Debugger](null): this tab is divided into the following areas: * [Frames](debug-tool-window-frames.html) * [Variables](debug-tool-window-variables.html) * [Watches](debug-tool-window-watches.html)

Each area has a [context menu](#contextMenu) that allows you to configure its behavior and navigate between tabs.

Each of the tabs and areas can be [hidden/restored](null), or [moved](#move) to a location of your choice.

## Moving tabs and areas

If you are unhappy with the default layout of the Debug tool window, you can always move the tabs and areas. To do that, just drag a tab or an area to the desired location. The possible target gets highlighted.

Drop the tab or area in the highlighted location.

To restore the default layout of tabs and area, click ![Restore layout](https://resources.jetbrains.com/help/img/idea/2026.3/app.debugger.restoreLayout.svg) in the Debug toolbar.

## Context menu of a tab

Use the context menu of the [Frames](debug-tool-window-frames.html), [Variables](debug-tool-window-variables.html) or [Watches](debug-tool-window-watches.html) areas to configure the behavior of these areas or navigate between tabs.

| Item | Description |
| --- | --- |
| Hide | Click this button to hide the corresponding area |
| Close Others | Click this button to hide all tabs except for the [Console](debug-tool-window-console.html)  and Debugger tabs.  |
| Focus On Startup | If this option is selected, the selected area gets the focus when you start a debugging session.  |
| Focus On Breakpoint | If this option is selected, the selected area gets the focus when a breakpoint is reached. |
|    Select Next Tab / Select Previous Tab      `Ctrl+Alt+Right` (Windows), `⌘ ]` (macOS), `⌘ ⌥ →` (IntelliJ IDEA Classic (macOS)), `⌘ ]` (macOS System Shortcuts), `Ctrl+Alt+Right` (XWin), `Alt+Shift+Right` (GNOME), `Ctrl+Alt+Right` (KDE), `Ctrl+Alt+Right` (Emacs), `Alt+Shift+NumPad -` (Sublime Text), `⌃ ⇧ NumPad -` (Sublime Text (macOS)), `Alt+Right` (VSCode), `⌃ ⇧ Minus` (VSCode (macOS)) / `Ctrl+Alt+Left` (Windows), `⌘ [` (macOS), `⌘ ⌥ ←` (IntelliJ IDEA Classic (macOS)), `⌘ [` (macOS System Shortcuts), `Ctrl+Alt+Left` (XWin), `Alt+Shift+Left` (GNOME), `Ctrl+Alt+Left` (KDE), `Ctrl+Alt+Left` (Emacs), `Alt+NumPad -` (Sublime Text), `⌃ NumPad -` (Sublime Text (macOS)), `Alt+Left` (VSCode), `⌃ Minus` (VSCode (macOS))     | Use these options to switch between the [Console](debug-tool-window-console.html) and the Debugger tabs.  |

## Debug toolbar

Regardless of the selected tab, you can always use the following toolbar controls in the left part of the window:

New UI:

| Item | Tooltip and Shortcut | Description |
| --- | --- | --- |
|  ![Restart](https://resources.jetbrains.com/help/img/idea/2026.3/app.expui.run.restartDebug.svg)  |    Rerun   `Ctrl+F5` (Windows), `⌘ R` (macOS), `⌃ F5` (IntelliJ IDEA Classic (macOS)), `⌘ R` (macOS System Shortcuts), `Ctrl+F5` (XWin), `Ctrl+F5` (GNOME), `Ctrl+5` (KDE), `Ctrl+F5` (Emacs), `Ctrl+F5` (Sublime Text), `⌘ R` (Sublime Text (macOS)), `Ctrl+;, L` (VSCode), `⌘ ;, L` (VSCode (macOS))  |  Click this button to stop the current application and run it again.  |
|  ![Resume](https://resources.jetbrains.com/help/img/idea/2026.3/app-client.expui.run.resume.svg)  |    Resume Program                        `F9` (Windows), `⌘ ⌥ R` (macOS), `F9` (IntelliJ IDEA Classic (macOS)), `⌃ \` (macOS System Shortcuts), `F9` (XWin), `F9` (GNOME), `F9` (KDE), `F9` (Emacs), `F9` (Sublime Text), `F9` (Sublime Text (macOS)), `F5` (VSCode), `F5` (VSCode (macOS))  | When an application is paused, click this button to resume program execution. |
|  ![Pause](https://resources.jetbrains.com/help/img/idea/2026.3/app.expui.run.pause.svg)  |    Pause Program   `Ctrl+Pause`  |    Click this button to pause program execution.    |
|  ![Stop](https://resources.jetbrains.com/help/img/idea/2026.3/app.expui.run.stop.svg)  |    Stop   `Ctrl+F2` (Windows), `⌘ F2` (macOS), `⌘ F2` (IntelliJ IDEA Classic (macOS)), `⌃ ⇧ .` (macOS System Shortcuts), `Ctrl+F2` (XWin), `Ctrl+F2` (GNOME), `Ctrl+2` (KDE), `Ctrl+F2` (Emacs), `Ctrl+F2` (Sublime Text), `Ctrl+F2` (Sublime Text (macOS)), `Shift+F5` (VSCode), `⇧ F5` (VSCode (macOS))  | Click this button to terminate the current process externally by means of the standard `shutdown` script.   |
|  ![View breakpoints](https://resources.jetbrains.com/help/img/idea/2026.3/app.expui.run.viewBreakpoints.svg)  |    View Breakpoints   `Ctrl+Shift+F8` (Windows), `⌘ ⇧ F8` (macOS), `⌘ ⇧ F8` (IntelliJ IDEA Classic (macOS)), `⌘ ⇧ F8` (macOS System Shortcuts), `Ctrl+Shift+F8` (XWin), `Ctrl+Shift+F8` (GNOME), `Ctrl+Shift+8` (KDE), `Ctrl+Shift+F8` (Emacs), `Ctrl+Shift+F8` (Sublime Text), `⌘ ⇧ F8` (Sublime Text (macOS)), `Ctrl+Shift+F8` (VSCode), `⌘ ⇧ F8` (VSCode (macOS))  | Click this button to open the Breakpoints dialog where you can configure breakpoints behavior.  |
|  ![Mute breakpoints](https://resources.jetbrains.com/help/img/idea/2026.3/app.expui.run.muteBreakpoints.svg)  | Mute Breakpoints |     Use this button to toggle breakpoints status.       When the ![](https://resources.jetbrains.com/help/img/idea/2026.3/app.debugger.muteBreakpoints.svg) button is pressed in the toolbar of the [Debug]() tool window, all the breakpoints in the project are muted, and their icons become grey: ![muted_breakpoint.png](https://resources.jetbrains.com/help/img/idea/2026.3/muted_breakpoint.png).       You can temporarily mute all breakpoints in the project to execute the program without stopping at breakpoints.     |
|  ![Show options menu](https://resources.jetbrains.com/help/img/idea/2026.3/app.expui.general.settings.svg)  | Debugger Settings |    > **Note:** > To use this option, click ![More](https://resources.jetbrains.com/help/img/idea/2026.3/app.expui.general.moreVertical.svg) More on the Debugger toolbar and then select ![Show options menu](https://resources.jetbrains.com/help/img/idea/2026.3/app.expui.general.settings.svg) Debugger Settings.     Opens the menu with the following options:       * Open Files in Preview Tab : select this option [to open files in a preview tab](null) when the corresponding frame is selected.    * Show Variable Values in Editor : select this option to enable the [Inline Debugging](null) feature that allows viewing the values of variables right next to their usage in the editor.    * Sort Variables Alphabetically : select this option to sort the values in the [Variables pane](debug-tool-window-variables.html) in the alphabetical order.    * Unmute Breakpoints on Session Finish : select this option to re-enable all disabled breakpoints after the debugging session has been finished.    |
|  ![](https://resources.jetbrains.com/help/img/idea/2026.3/app.general.pin_tab.svg)  | Pin Tab |  Click this button to pin or unpin the current tab. You may need to pin a tab to prevent it from closing automatically when the maximum number of tabs is reached in this window.  |

Classic UI:

| Item | Tooltip and Shortcut | Description |
| --- | --- | --- |
|  ![Restart](https://resources.jetbrains.com/help/img/idea/2026.3/app.actions.restart.svg)  |    Rerun   `Ctrl+F5` (Windows), `⌘ R` (macOS), `⌃ F5` (IntelliJ IDEA Classic (macOS)), `⌘ R` (macOS System Shortcuts), `Ctrl+F5` (XWin), `Ctrl+F5` (GNOME), `Ctrl+5` (KDE), `Ctrl+F5` (Emacs), `Ctrl+F5` (Sublime Text), `⌘ R` (Sublime Text (macOS)), `Ctrl+;, L` (VSCode), `⌘ ;, L` (VSCode (macOS))  |  Click this button to stop the current application and run it again.  |
|  ![Resume](https://resources.jetbrains.com/help/img/idea/2026.3/app.actions.resume.svg)  |    Resume Program                        `F9` (Windows), `⌘ ⌥ R` (macOS), `F9` (IntelliJ IDEA Classic (macOS)), `⌃ \` (macOS System Shortcuts), `F9` (XWin), `F9` (GNOME), `F9` (KDE), `F9` (Emacs), `F9` (Sublime Text), `F9` (Sublime Text (macOS)), `F5` (VSCode), `F5` (VSCode (macOS))  | When an application is paused, click this button to resume program execution. |
|  ![Pause](https://resources.jetbrains.com/help/img/idea/2026.3/app.actions.pause.svg)  |    Pause Program   `Ctrl+Pause`  |    Click this button to pause program execution.    |
|  ![Stop](https://resources.jetbrains.com/help/img/idea/2026.3/app.actions.suspend.svg)  |    Stop   `Ctrl+F2` (Windows), `⌘ F2` (macOS), `⌘ F2` (IntelliJ IDEA Classic (macOS)), `⌃ ⇧ .` (macOS System Shortcuts), `Ctrl+F2` (XWin), `Ctrl+F2` (GNOME), `Ctrl+2` (KDE), `Ctrl+F2` (Emacs), `Ctrl+F2` (Sublime Text), `Ctrl+F2` (Sublime Text (macOS)), `Shift+F5` (VSCode), `⇧ F5` (VSCode (macOS))  | Click this button to terminate the current process  externally by means of the standard `shutdown` script .  |
|  ![View breakpoints](https://resources.jetbrains.com/help/img/idea/2026.3/app.debugger.viewBreakpoints.svg)  |    View Breakpoints   `Ctrl+Shift+F8` (Windows), `⌘ ⇧ F8` (macOS), `⌘ ⇧ F8` (IntelliJ IDEA Classic (macOS)), `⌘ ⇧ F8` (macOS System Shortcuts), `Ctrl+Shift+F8` (XWin), `Ctrl+Shift+F8` (GNOME), `Ctrl+Shift+8` (KDE), `Ctrl+Shift+F8` (Emacs), `Ctrl+Shift+F8` (Sublime Text), `⌘ ⇧ F8` (Sublime Text (macOS)), `Ctrl+Shift+F8` (VSCode), `⌘ ⇧ F8` (VSCode (macOS))  | Click this button to open the Breakpoints dialog where you can configure breakpoints behavior.  |
|  ![Mute breakpoints](https://resources.jetbrains.com/help/img/idea/2026.3/app.expui.run.muteBreakpoints.svg)  | Mute Breakpoints |     Use this button to toggle breakpoints status.       When the ![](https://resources.jetbrains.com/help/img/idea/2026.3/app.debugger.muteBreakpoints.svg) button is pressed in the toolbar of the [Debug]() tool window, all the breakpoints in the project are muted, and their icons become grey: ![muted_breakpoint.png](https://resources.jetbrains.com/help/img/idea/2026.3/muted_breakpoint.png).       You can temporarily mute all breakpoints in the project to execute the program without stopping at breakpoints.     |
|  ![Show options menu](https://resources.jetbrains.com/help/img/idea/2026.3/app.expui.general.settings.svg)  | Settings |    Click this button to open the menu with the following options:       * Show Values Inline: select this option to enable the [Inline Debugging](null) feature that allows viewing the values of variables right next to their usage in the editor.    * Sort Values Alphabetically: select this option to sort the values in the [Variables pane](debug-tool-window-variables.html) in the alphabetical order.    * Unmute Breakpoints on Session Finish: select this option to re-enable all disabled breakpoints after the debugging session has been finished.    |
|  ![](https://resources.jetbrains.com/help/img/idea/2026.3/app.general.pin_tab.svg)  | Pin Tab |  Click this button to pin or unpin the current tab. You may need to pin a tab to prevent it from closing automatically when the maximum number of tabs is reached in this window.  |

## Stepping toolbar

New UI:

| Item | Tooltip and Shortcut | Description |
| --- | --- | --- |
|  ![Show Execution Point](https://resources.jetbrains.com/help/img/idea/2026.3/app.expui.run.showCurrentFrame.svg)  |    Show Execution Point   `Alt+F10` (Windows), `⌥ F10` (macOS), `⌥ F10` (IntelliJ IDEA Classic (macOS)), `⌥ F10` (macOS System Shortcuts), `Alt+F10` (XWin), `Alt+Shift+0` (GNOME), `Alt+Shift+0` (KDE), `Alt+F10` (Emacs), `Alt+F10` (Sublime Text), `⌥ F10` (Sublime Text (macOS)), `Alt+F10` (VSCode), `⌥ F10` (VSCode (macOS))  | Click this button to highlight the current execution point in the editor and show the corresponding stack frame in the Frames pane.  |
|  ![Step over](https://resources.jetbrains.com/help/img/idea/2026.3/app.expui.run.stepOver.svg)  |    Step Over   `F8` (Windows), `F8` (macOS), `F8` (IntelliJ IDEA Classic (macOS)), `⌘ Quote` (macOS System Shortcuts), `F8` (XWin), `F8` (GNOME), `F8` (KDE), `F8` (Emacs), `F8` (Sublime Text), `F8` (Sublime Text (macOS)), `F10` (VSCode), `F10` (VSCode (macOS))  | Click this button to execute the program until the next line in the current method or file, skipping the methods referenced at the current execution point (if any). If the current line is the last one in the method, execution steps to the line executed right after this method.  |
|  ![Step into](https://resources.jetbrains.com/help/img/idea/2026.3/app.expui.run.stepInto.svg)  |    Step Into                                `F7` (Windows), `F7` (macOS), `F7` (IntelliJ IDEA Classic (macOS)), `⌘ ;` (macOS System Shortcuts), `F7` (XWin), `F7` (GNOME), `F7` (KDE), `F7` (Emacs), `F7` (Sublime Text), `F7` (Sublime Text (macOS)), `F11` (VSCode), `F11` (VSCode (macOS))  |     Click this button to have the debugger step into the method called at the current execution point.      |
|  ![Step out](https://resources.jetbrains.com/help/img/idea/2026.3/app.expui.run.stepOut.svg)  |    Step Out   `Shift+F8` (Windows), `⇧ F8` (macOS), `⇧ F8` (IntelliJ IDEA Classic (macOS)), `⌘ \` (macOS System Shortcuts), `Shift+F8` (XWin), `Shift+F8` (GNOME), `Shift+F8` (KDE), `Shift+F8` (Emacs), `Shift+F8` (Sublime Text), `⇧ F8` (Sublime Text (macOS)), `Shift+F11` (VSCode), `⇧ F11` (VSCode (macOS))  | Click this button to have the debugger step out of the current method, to the line executed right after it.  |
|  ![Run to cursor](https://resources.jetbrains.com/help/img/idea/2026.3/app.expui.run.runToCursor.svg)  |    Run to Cursor   `Alt+F9` (Windows), `⌥ F9` (macOS), `⌥ F9` (IntelliJ IDEA Classic (macOS)), `⌃ ⇧ \` (macOS System Shortcuts), `Alt+Shift+9` (XWin), `Alt+Shift+9` (GNOME), `Alt+Shift+9` (KDE), `Alt+F9` (Emacs), `Alt+F9` (Sublime Text), `⌥ F9` (Sublime Text (macOS)), `Alt+F9` (VSCode), `⌥ F9` (VSCode (macOS))  |     Click this button to resume program execution and pause until the execution point reaches the line at the current caret location in the editor. No breakpoint is required. Actually, there is a temporary breakpoint set for the current line at the caret, which is removed once program execution is paused. Thus, if the caret is positioned at the line which has already been executed, the program will be just resumed for further execution, because there is no way to roll back to previous breakpoints. This action is especially useful when you have stepped deep into the methods sequence and need to step out of several methods at once.       If there are breakpoints set for the lines that should be executed before bringing you to the specified line, the debugger will pause at the first encountered breakpoint.      > **Tip:** > Use this action when you need a kind of a temporary breakpoint at a specific line, where program execution should not be interrupted.     |
|  ![Evaluate expression](https://resources.jetbrains.com/help/img/idea/2026.3/app.expui.run.evaluateExpression.svg)  |    Evaluate Expression   `Alt+F8` (Windows), `⌥ F8` (macOS), `⌥ F8` (IntelliJ IDEA Classic (macOS)), `⌘ ⌃ L` (macOS System Shortcuts), `Alt+F8` (XWin), `Alt+Shift+8` (GNOME), `Alt+Shift+8` (KDE), `Alt+F8` (Emacs), `Alt+F8` (Sublime Text), `⌥ F8` (Sublime Text (macOS)), `Alt+F8` (VSCode), `Alt+F8` (VSCode (macOS))  |  Click this button to  [evaluate expressions](examining-suspended-program.html#evaluating-expressions).  |

Classic UI:

| Item | Tooltip and Shortcut | Description |
| --- | --- | --- |
|  ![Show Execution Point](https://resources.jetbrains.com/help/img/idea/2026.3/app.debugger.showCurrentFrame.svg)  |    Show Execution Point   `Alt+F10` (Windows), `⌥ F10` (macOS), `⌥ F10` (IntelliJ IDEA Classic (macOS)), `⌥ F10` (macOS System Shortcuts), `Alt+F10` (XWin), `Alt+Shift+0` (GNOME), `Alt+Shift+0` (KDE), `Alt+F10` (Emacs), `Alt+F10` (Sublime Text), `⌥ F10` (Sublime Text (macOS)), `Alt+F10` (VSCode), `⌥ F10` (VSCode (macOS))  | Click this button to highlight the current execution point in the editor and show the corresponding stack frame in the Frames pane.  |
|  ![Step over](https://resources.jetbrains.com/help/img/idea/2026.3/app.actions.traceOver.svg)  |    Step Over   `F8` (Windows), `F8` (macOS), `F8` (IntelliJ IDEA Classic (macOS)), `⌘ Quote` (macOS System Shortcuts), `F8` (XWin), `F8` (GNOME), `F8` (KDE), `F8` (Emacs), `F8` (Sublime Text), `F8` (Sublime Text (macOS)), `F10` (VSCode), `F10` (VSCode (macOS))  | Click this button to execute the program until the next line in the current method or file, skipping the methods referenced at the current execution point (if any). If the current line is the last one in the method, execution steps to the line executed right after this method.  |
|  ![Step into](https://resources.jetbrains.com/help/img/idea/2026.3/app.actions.traceInto.svg)  |    Step Into                                `F7` (Windows), `F7` (macOS), `F7` (IntelliJ IDEA Classic (macOS)), `⌘ ;` (macOS System Shortcuts), `F7` (XWin), `F7` (GNOME), `F7` (KDE), `F7` (Emacs), `F7` (Sublime Text), `F7` (Sublime Text (macOS)), `F11` (VSCode), `F11` (VSCode (macOS))  |     Click this button to have the debugger step into the method called at the current execution point.      |
|  ![Step out](https://resources.jetbrains.com/help/img/idea/2026.3/app.actions.stepOut.svg)  |    Step Out   `Shift+F8` (Windows), `⇧ F8` (macOS), `⇧ F8` (IntelliJ IDEA Classic (macOS)), `⌘ \` (macOS System Shortcuts), `Shift+F8` (XWin), `Shift+F8` (GNOME), `Shift+F8` (KDE), `Shift+F8` (Emacs), `Shift+F8` (Sublime Text), `⇧ F8` (Sublime Text (macOS)), `Shift+F11` (VSCode), `⇧ F11` (VSCode (macOS))  | Click this button to have the debugger step out of the current method, to the line executed right after it.  |
|  ![Run to cursor](https://resources.jetbrains.com/help/img/idea/2026.3/app.actions.runToCursor.svg)  |    Run to Cursor   `Alt+F9` (Windows), `⌥ F9` (macOS), `⌥ F9` (IntelliJ IDEA Classic (macOS)), `⌃ ⇧ \` (macOS System Shortcuts), `Alt+Shift+9` (XWin), `Alt+Shift+9` (GNOME), `Alt+Shift+9` (KDE), `Alt+F9` (Emacs), `Alt+F9` (Sublime Text), `⌥ F9` (Sublime Text (macOS)), `Alt+F9` (VSCode), `⌥ F9` (VSCode (macOS))  |     Click this button to resume program execution and pause until the execution point reaches the line at the current cursor location in the editor. No breakpoint is required. Actually, there is a temporary breakpoint set for the current line at the caret, which is removed once program execution is paused. Thus, if the caret is positioned at the line which has already been executed, the program will be just resumed for further execution, because there is no way to roll back to previous breakpoints. This action is especially useful when you have stepped deep into the methods sequence and need to step out of several methods at once.       If there are breakpoints set for the lines that should be executed before bringing you to the specified line, the debugger will pause at the first encountered breakpoint.      > **Tip:** > Use this action when you need a kind of a temporary breakpoint at a specific line, where program execution should not be interrupted.     |
|  ![Evaluate expression](https://resources.jetbrains.com/help/img/idea/2026.3/app.debugger.evaluateExpression.svg)  |    Evaluate Expression   `Alt+F8` (Windows), `⌥ F8` (macOS), `⌥ F8` (IntelliJ IDEA Classic (macOS)), `⌘ ⌃ L` (macOS System Shortcuts), `Alt+F8` (XWin), `Alt+Shift+8` (GNOME), `Alt+Shift+8` (KDE), `Alt+F8` (Emacs), `Alt+F8` (Sublime Text), `⌥ F8` (Sublime Text (macOS)), `Alt+F8` (VSCode), `Alt+F8` (VSCode (macOS))  |  Click this button to  [evaluate expressions](examining-suspended-program.html#evaluating-expressions).  |

