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

Debug in the Just-In-Time mode

Last modified: 26 June 2023

PhpStorm supports the use of Xdebug in the Just-In-Time (JIT) mode so it is not attached to your code all the time but connects to PhpStorm only when an error occurs or an exception is thrown. Depending on the Xdebug version used, this operation mode is toggled through the following settings:

The mode is available both for debugging command-line scripts and for web server debugging.