Debugging tools
02-28-2018 01:34 pm
For those of you who have not used the Debug class methods, here is a brief tip about its use and value.
In any php script, you can use these methods:
Debug::console_log($var_list);
Debug::print_r($var_list);
The first method displays the desired variables in the browser console. The later on the screen, nicely formatted.
Both are VERY useful tools when debugging a new file. You can also get creative in formatting the output, but I'll leave this you you all.
In any php script, you can use these methods:
Debug::console_log($var_list);
Debug::print_r($var_list);
The first method displays the desired variables in the browser console. The later on the screen, nicely formatted.
Both are VERY useful tools when debugging a new file. You can also get creative in formatting the output, but I'll leave this you you all.
0 | 0
1 to 1 of 1