To enable exception tracking, set the zpa.track_exceptions directive to 1 in the zpa.ini (Linux) or php.ini (Windows).
Similarly, to disable it, set it to 0.
To enable error tracking:
zpa.track_exceptions = 1
To disable error tracking:
zpa.track_exceptions = 0
To enable or disable exception tracking for a specific application, update the .htaccess (Linux) or .user.ini (Windows).
In the .htaccess (Linux),
php_value zpa.track_exceptions 1
In the .user.ini (Windows),
zpa.track_exceptions = 1