PhpStorm
 
Get PhpStorm

Debug with PHP exception breakpoints

Last modified: 16 September 2022

With PHP Exception Breakpoints, you can initiate the debugger at the start of the script and break on your own breakpoints or whenever an error or Exception of a given type occurs. PHP Exception breakpoints do not require configuring Xdebug for working in the Just-In-Time mode by setting xdebug.remote_mode=jit (for Xdebug 2) or xdebug.start_upon_error=yes (for Xdebug 3) as described in Debug in the Just-In-Time mode.