PDA

View Full Version : PHP IDE w/ debugging



dwessell
December 27th, 2005, 02:30 AM
Hey all.. Can anyone suggest an IDE or editor for PHP that includes debugging capabilities? Open source, or free preferred..

I've read through the sticky thread.. But didn't seem much in the way of debugging for PHP.

Thanks
David

sapo
December 27th, 2005, 10:17 AM
I dont debug php, just set error reporting to E_ALL, save your php file and refresh the browser :P

I aways used gedit for php, never used any IDE.

dwessell
December 27th, 2005, 03:48 PM
Oh, but the joy to be had by watching the variables change as you step through a function.. Nothing makes me happier.. I have goose bumps just thinking about it..

Truth be told, I'm learning PHP as I go.. And I've found that a debugging tool can be super helpful when learning a new language..

Thanks
David

David Marrs
December 27th, 2005, 06:26 PM
can't help on the debugger front, but bluefish is a very good PHP IDE. You can apt-get install it from the repos. You should also read the official documentation; it's very helpful.

nemik
December 27th, 2005, 10:56 PM
zend studio is a great PHP IDE with dcent debugging, not free though...

asimon
December 27th, 2005, 11:23 PM
There is the a PHP debugger called Gubed (http://gubed.mccabe.nu) which can be used together with Quanta (http://kdewebdev.org). Both are free software.

Seth
December 28th, 2005, 12:22 AM
Eclipse + phpEclipse includes a complete debugger. It's very good.

bnlandry
July 31st, 2007, 04:25 AM
I have gotten used to developing my new PHP project in PHPEclipse. However, I have not had any luck installing the debugger. The tutorial here (http://dd.cron.ru/dbg/installation.php) explains how to install DBG, but it does not address apt-get. I could not find the correct DBG package in the repositories, so I tried the steps he lists. However, although phpize is installed on my system, the "deferphpize" script in the DBG-2.10.15 archive acts like I don't have it. I have installed PHP 5, PHP-cli, and PHP-dev from the repositories. I feel like I am making several mistakes here. Any advice?
-bnlandry

JeevesBond
August 1st, 2007, 02:03 PM
I've just written an article on this subject (since I had to do the same thing myself) see: Easy PHP Debugging in Ubuntu (using Xdebug and Vim) (http://www.apaddedcell.com/easy-php-debugging-in-ubuntu-using-xdebug-and-vim).

I'm using Vim (http://www.vim.org/), which is a fantastic general editor, but somewhat difficult to learn. :)

I believe that once you have Xdebug installed it should be trivial to get Eclipse (http://www.eclipse.org/) or Qanta (http://quanta.kdewebdev.org/) to work with it.