PhpStorm 2016.3 Help

Working with Groups of Breakpoints

On this page:

Introduction

PhpStorm makes it possible to organize breakpoints in groups, for example, to mark out breakpoints for a specific problem. This is done in the Breakpoints dialog.

Creating groups of breakpoints

To create a group of breakpoints

  1. In the Breakpoints dialog, right-click one or more breakpoints you are interested in.
  2. On the context menu, point to the command Move to group, and then on the submenu, choose Create new...:
    /help/img/idea/2016.3/ps_move_breakpoint_to_group.png
  3. In the New Group dialog box, type the name of the new group. The selected breakpoint moves to the newly created group.
  4. Optionally, you can right-click a group of breakpoints and select Set as default from the popup menu. All newly created breakpoints will be automatically added to this group.

Moving breakpoints to another group, or out of a group

To move breakpoints to another group

  1. In the Breakpoints dialog, right-click one or more breakpoints you are interested in.
  2. On the context menu, point to the command Move to group, and then on the submenu, choose the desired group name:
    /help/img/idea/2016.3/ps_move_breakpoint_to_existing_group.png

    The breakpoints in question move to the selected group.

To move breakpoints out of a group

  1. In the Breakpoints dialog, right-click one or more breakpoints within a group.
  2. On the context menu, point to the command Move to group, and then on the submenu, choose <no group>.
  3. The selected breakpoints move to a node according to their type.

Toggling a group of breakpoints

Using groups of breakpoints, it is possible to toggle all breakpoints within a group in a single click.

To toggle all breakpoints belonging to a certain group

  • Select or clear the check box to the left of a group name:
    /help/img/idea/2016.3/ps_toggle_group_of_breakpoints.png

See Also

Last modified: 1 December 2016