PhpStorm
 
Get PhpStorm
You are viewing the documentation for an earlier version of PhpStorm.

Debug with PHP exception breakpoints

Last modified: 02 October 2023

With PHP exception breakpoints, the debugger suspends execution of the application code when an exception or an error is thrown or when a PHP notice or warning is emitted.

Unlike line breakepoints, which you have to set to specific lines in the source code, the configured exception breakpoints apply globally across the codebase. When an exception breakpoint is hit, PhpStorm adds the App client debugger db exception breakpoint icon to the respective line of code automatically.

Hitting an exception breakpoint