Re: Recommendations for PHP debuggers?

From: Date: Mon, 21 Aug 2006 04:34:55 +0000
Subject: Re: Recommendations for PHP debuggers?
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-240935@lists.php.net to get a copy of this message
On Mon, 2006-08-21 at 00:18 -0400, Robert Cummings wrote: > Are you sure you need a debugger? I find the best tools around for > debugging are echo(), print_r(), ob_xxxx(), and error_log(). Of course, > I use a function that wraps the print_r(), and ob_xxx() functions for > simplicity. I've never found a debugger for PHP to be particularly > useful. > Besides the above (and var_dump - if possible plus the PEAR Var_Dump package to make it more readable) I only really use XDebug (pecl install xdebug). I also use Ubuntu, and I have a copy of Zend Studio Pro, but I don't use the debugging functionality, as I find it a little counter intuitive. Best thing to do IMO, is set your error_reporting to E_ALL or E_STRICT and install xdebug. --Paul

« previous php.general (#240935) next »