Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Laravel blade debug view name on error

when there is some error in view, L4 shows a nice trace, but cached filename: open: /var/www/webpage/app/storage/views/1154ef6ad153694fd0dbc90f28999013

howto during view-rendering-to-cache save view's path/name (in a comment or something)? Or better yet - to show it in the debug-error-page (its called whoops or something?)

Thanks ;)

like image 249
Hontoni Avatar asked Sep 20 '25 00:09

Hontoni


1 Answers

I don't know how to de encrypt view names , but one method i do is to

{{dd('will you reach here ')}}

Trying to move this line from view to another to watch where php render reach .

I know it is not the right way nor the professional one , but it may help in some cases .

like image 116
mercury Avatar answered Sep 22 '25 10:09

mercury