First of all, there is a tool called Lagger, flexible open-source PHP library for errors/exceptions/debugs handling in PHP http://code.google.com/p/lagger
PHP Console is a lightweight alternative of Lagger. YOu can find it here: http://code.google.com/p/php-console/source/browse/trunk/PhpConsole
The PHP Console Google Chrome add-on displays errors / exceptions / debug messages handled by class PhpConsole and Lagger in Google Chrome console and in notification popups.
PHP Console is cross-platform and it works on Mac OS X, Windows and Linux.
Detailed instructions on how to install and use the PHP Console utility on your Mac are available HERE.
Here are some key features of "PHP Console":
· No icons on Toolbar, only in address bar (when active)
· Configure from context menu (just right click on web-page)
· Handle exceptions and all errors (even FATAL)
· Display debug and errors messages in Google Chrome console
Display debug and errors messages in Notification popups:
· First popup is displayed with 3 second lifetime
· All other popups are displayed with configured lifetime
· Popup is not hiding if mouse is over or popup window is selected
· All popups can be closed by clicking (x) close icon of any popup
· Display errors/exceptions backtrace in console (click on >Object)
· Display errors/exceptions backtrace in notification (click on #source_path link)
Catch messages from any sources (with Lagger):
· Web page
· AJAX
· IFrame
Make custom actions on errors and debug messages:
· Log to file
· Send Email
· Send SMS
· Send to STDOUT
Requirements:
· Google Chrome
· Lagger