Level 102
You can use dd inside of blade but it might be hard to read
{{ dd($myvar) }}
Instead you should enable debug in your env to see the error (if on development.. if on production check logs instead)
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
My project crashes during rendering of Blade files, most likely due to the value of Blade variables. Is there an easy way to debug this? E.g. by dumping the value of the variables in a way equivalent to dd() or dump() in php?
HUbert
Please or to participate in this conversation.