vendredi 19 janvier 2018

Temporarily hide the Whoops page in Laravel 5.4?

When my PHP script goes wrong, I see a nice Whoops page with all details of the error.

However, sometimes I need to see the output of where it went wrong (for example in a loop with 1 million items, but only 1 of them gives a problem, I need to see which item). I flush the output after each item, so the page behind the Whoops page shows the last item at the bottom of the page.

Is there a way to hide the Whoops page (temporarily) ?

Using Chrome DevTools, I now hide the DIV that has the class 'Whoops_container' , but it would be nice if there's a more elegant way.



from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/2EY3Mme
via IFTTT

Aucun commentaire:

Enregistrer un commentaire