Debug tool window | WebStorm (original) (raw)

When you start a debugger session, the Debug tool window opens. Use this window to control the debugger session, view and analyze the program data (frames, threads, variables, and so on), and perform debugger actions.

By default, the Debug tool window opens when your program hits a breakpoint and is not hidden when the session is terminated. To change this behavior, go to the Build, Execution, Deployment | Debugger settings page Ctrl+Alt+S and clear the Show debug window on breakpoint checkbox.

Sessions

If you run several debug sessions simultaneously, they are separated into tabs in the top part of the Debug tool window.

Several debugging sessions: tabs

All the information in the editor, like inline variable values and execution point, is shown for the selected session tab. This is important if you are running several debug sessions in parallel that use the same classes.

When you close a tab, the corresponding debug session terminates.

Tabs

The Debug tool window shows the following tabs for each session:

Switch tabs

Show/hide tabs

Move tabs

You can arrange the tabs to fit your preference. You can move a tab to another location or group a tab with another tab, so that they share the same space on the screen.

Restore default layout

If you changed the layout of the Debug tool window and don't like the new arrangement, you can revert it to the default state.

The debugger toolbar contains the most commonly used actions for controlling the debugger session and stepping.

The Debugger Toolbar

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

Customize the debugger's toolbar

  1. 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.
    Customize Debugger Toolbar - add actions
  2. To add an action that is not directly related to debugging, right-click the debugger toolbar, and then select Customize Toolbar from the context menu.
    Customize stepping toolbar - context menu
    In the dialog that opens, click Add, and then select the required action.
    Customize Debugger Toolbar - Add Action dialog

Last modified: 03 April 2025