News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

PHPMaster.com:
Debugging PHP Code with FirePHP
October 30, 2012 @ 08:36:21

On PHPMaster.com today there's a new tutorial showing you a different method for debugging your code than the usual print_r or var_dump - using FirePHP, a tool that uses messaging to relay information back to your browser.

As the technical manager of a suite of software projects, one of my duties is doing code reviews. One of the things I see far more often than I'd like when doing reviews is debugging PHP code committed and pushed up the chain. [...] The safest method of debugging requires configuring your IDE to use a tool like Xdebug or Zend Debugger to trace currently executing code. This isn't always practical. In the absence of using a fully configured debug environment, I turn to FirePHP.

He shows how to set up and configure FirePHP to work with your debugging and some suggestions on browser extensions you can install to view the messages. Sample code is included showing you how to use the tool to send messages back to the browser including grouping messages, building tables and something that shows a conditional caching report message.

0 comments voice your opinion now!
debug tutorial firephp client message


blog comments powered by Disqus

Similar Posts

phpDevelopment Blog: Zend Framework Tutorial Series: Part 3 – Login and Signup with (RE)Captcha

Jani Hartikainen's Blog: Zend_Acl part 1: Misconceptions and simple ACLs

Fernando Bassani's Blog: Putting the PHP/Java Bridge to work - I

CodeForest.com: Creating simple tasks app with Backbone.js and Slim micro framework (part 1)

PHPMaster.com: Sending Email with Swift Mailer


Community Events





Don't see your event here?
Let us know!


composer introduction laravel opinion artisanfiles release library interview series list symfony podcast security tool voicesoftheelephpant version conference community language framework

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework