PHP Example:
<?php error_log( print_r( $thing, true ) ); ?>
CLI Example:
tail -f /Applications/MAMP/logs/php_error.log
Clear CLI window to see better while debugging:
command+K
PHP Example:
<?php error_log( print_r( $thing, true ) ); ?>
CLI Example:
tail -f /Applications/MAMP/logs/php_error.log
Clear CLI window to see better while debugging:
command+K