Sometimes the debugger, xdebug, zend debugger, aren’t working. So instead debugging, we just spend time to debug the debugger itself.
To debug quickly in php we just need to call exit function with variable or any parameter we want. so the script stop and displaying what exactly in the exit parameter.
Example, suppose you want to know what happen with an array so you just type
that’s all for today.