dd() in a View

Using dd($var); in your code is a great way to see what’s going on but you can also do this in a view using this Blade directive: @dump($var)