Use Laravel's dd() (die dump) function in your Wordpress projects. Perfect for debuging custom queries!
A plugin to include var-dump package to use dump() function while developing or debugging.