There are many fancy ways, similar to your eclipse console, but only 2 that works everythere.
First of all you have to decide, where you want to see your errors - online or in the log file. Usually we set online for developers machine and log for the public server.
Unix-way for log is often used - tail -f /path/error_log
To set bullet-proof settings use either php config or apache config.
So, to display errors online,
set display_errors = on
in the php.ini
file (be sure you edit working one)
or set php_value display_errors = 1
in the httpd.conf
/.htaccess
For the public server on the shared hosting I usually add these lines into .htaccess
:
php_value display_errors = 0
php_value log_errors = 1
php_value error_log = "/path/to/log.file" #if I want to have it separate from webserver's error log
Reporting level always remain the same and set in the config php file with
error_reporting(E_ALL);