PhpStorm 2017.1 Help

Creating Exception Breakpoints

  1. On the main menu, choose Run | View Breakpoints, or press Ctrl+Shift+F8.
  2. In the Breakpoints dialog box that opens, click /help/img/idea/2017.1/new.png.
  3. Select PHP Exception Breakpoint or JavaScript Exception Breakpoint from the drop-down list.
    /help/img/idea/2017.1/ps_create_exception_breakpoint.png
  4. In the Add Exception Breakpoint dialog box that opens, specify the custom Exception type to break on or use a standard Warning, Notice, or Deprecated to break on PHP error conditions. Note that E_ERROR, E_PARSE, and E_COMPILE_ERROR are not handled as they halt execution of the PHP engine. Click OK when ready.

    PhpStorm returns you to the Breakpoints dialog box.

  5. Configure the new exception breakpoint as described in Configuring Breakpoints.

See Also

Last modified: 19 July 2017