Is there a way to enable global logging of debug errors to a log file? For example in a Laravel project every request is logged under app/storage/logs. It looks something like:
0 /var/www/core/app/filters.php(17): Illuminate\Exception\Handler->handleError(8, 'Undefined varia...', '/var/www/core...', 17, Array)
1 [internal function]: {closure}(Object(Illuminate\Http\Request))
Since PHP isnt compiled this is huge when trying to debug why something isn't working. I usually just run a tail on this file and use it anytime I get an error.