PhpStorm 2017.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

  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...:
    ps move breakpoint to group
  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

  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:
    ps move breakpoint to existing group

    The breakpoints in question move to the selected 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.

  • Select or clear the checkbox to the left of a group name:
    ps toggle group of breakpoints
Last modified: 3 November 2017

See Also