最終更新:2011-04-02 (土) 06:58:34 (4770d)  

PHP Console
Top / PHP Console

http://code.google.com/p/php-console/

PHP Console is extension for Lagger and class PhpConsole?, that displays PHP errors/debug messages in Google Chrome console and in notification popups.

Google Chrome/拡張機能

Features

  • 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

使い方

With PhpConsole? class

Test code

require_once('PhpConsole.php');
PhpConsole::start();

// test
debug('test message');
debug('SELECT * FROM users', 'sql');
unkownFunction($unkownVar);

参考