tags:

views:

513

answers:

8

what is the best PHP debugger that is for free.

+4  A: 

xdebug should do the trick: http://xdebug.org/

kristofer
just be aware that it's good to combine xdebug witha good IDE that helps you step through the code!
tharkun
Komodo works nicely with XDebug.
Alex
+2  A: 

FirePHP is pretty neat too: http://www.firephp.org/

lod3n
+1  A: 
var_dump(); //especially with xdebug installed
Alan Storm
+2  A: 

Aptana IDE has very good debugging tools and it easily integrates with Xdebug! NetBeans also has a good debugger!

tharkun
+20  A: 
Pascal MARTIN
very nice post! and I advocate Aptana IDE + Xdebug over Eclipse PDT + Xdebug :)
tharkun
I am myself using Aptana as a plugin into PDT, to edit CSS/JS/HTML ; but for PHP, I still use PDT -- have never seen a reason to switch to Aptana for PHP specifically, actually.
Pascal MARTIN
You can use it with Netbeans too. Any editor really.
WebDevHobo
A: 

I was using Zend Debugger with Zend Studio a while back (when Zend Studio was not acting a fool) and it worked great. The added bonus was the Firefox toolbar that allowed to customize the interaction. Very nicely integrated.

Miha Hribar
A: 

Netbeans WOULD be the best, but its got some honery inability to debug some sources which coexist in directories below index.php

Alistair
+2  A: 

I've setup a PHP debugging with both eclipse and phpstorm. phpstorm + xdebug was by far easier to setup.

http://www.jetbrains.com/phpstorm/index.html

rxn
My current setup, as well. I moved over to phpstorm + xdebug from Aptana.
Mike Munroe