http://www.chromephp.com/
1. Download the Chrome Extension
https://chrome.google.com/webstore/detail/noaneddfkdjfnfdakjjmocngnfkfehhd
Visit the site and just click Add to Chrome button to get it installed
2. Download the Class
https://github.com/ccampbell/chromephp
Download the the class "ChromePhp.php" and copy it into applicaiton/libraries
3. Usage
include 'ChromePhp.php';
ChromePhp::log('hello world');
ChromePhp::log($_SERVER);
// using labels
foreach ($_SERVER as $key => $value)
{
ChromePhp::log($key, $value)
}
// warnings and errors
ChromePhp::warn('this is a warning');
ChromePhp::error('this is an error');
No comments:
Post a Comment