I work with QuickBooks for windows. And windows app makes call to my backend where in some library script it call exit or die... So I cant catch response and need to detect where exit runs or catch output before exit. For example
try{
$lib->run();
} catch on exit ($output) {
log($output);
}
so maybe anyone knows it calls exit when I enable QuickBooks_WebConnector_Handlers::HOOK_LOGINSUCCESS hook... And debugger shows that it dont enter my function on hook... So it dies before.