This is an old revision of the document!
PHP Development with Eclipse PDT and xdebug
this article describes how to install eclipse pdt and xebug on an ubuntu server and a ubuntu desktop machine..
xdebug
run
apt-get install xdebug
and you're done installing ;)
Eclipse PDT
unfortunately the ubuntu repositories don't contain a PDT package for eclipse, so you need to get it from another repository:
sudo add-apt-repository ppa:yogarine/eclipse/ubuntu sudo apt-get update sudo apt-get install eclipse-pdt
and you're done installing eclipse pdt :)
make them cooperate
on your webserver edit the xdebug ini file:
nano /etc/php5/conf.d/xdebug.ini
and add these lines:
xdebug.remote_enable=On xdebug.remote_host="172.16.16.216" xdebug.remote_port=9000 xdebug.remote_handler="dbgp"