Debugging php on ubuntu 9.04?

Is there any IDE (linux based) for PHP that can be used for debugging? Or can anyone help me configure eclipse debug properties / settings? I am now using ubuntu 9.04. I tried to debug but havn't tried to set it up because i dont know how to set it up. can you tell me the exact way? please help me.

+2


source to share


4 answers


I am using ActiveState Komodo IDE 5 w / xdebug and xdebug companion Firefox extension.

** You can use most of the information below for any development environment that supports xdebug **

You need to add xdebug information to your php.ini.



[xdebug]
xdebug.remote_enable=1
xdebug.remote_handler=dbgp
xdebug.remote_mode=req
xdebug.remote_host=localhost
xdebug.remote_port=9000
xdebug.extended_info=1
xdebug.idekey=

      

Then in settings-> languages-> php go to the debugger wizard. Then you have to enable "listen for debug connections" in the Komodo IDE in the "Debug" dropdown.

Install the xdebug helper firefox addon and enter the required information into your config dialog for your debug server, restart firefox and click the icon in the bottom right corner to start using xdebug on the page.

+1


source


I recommend Eclipse PDT with Xdebug .



0


source


You can also try Aptana (based on Eclipse) or NetBeans.

Working with NetBeans and PHP is very easy. ou can follow this tutorial

0


source


I am using PHPStorm with xdebug. Works well :)

0


source







All Articles