PHPEclipse is a PHP development plugin for the Eclipse IDE Framework. And, XDebug is a PHP extension which provides debugging and profiling capabilities.
I am using Ubuntu Operating System. This article provides a step-by-step guide on installing and setting up XDebug in PHP Eclipse in Ubuntu.
Install XDebug in Ubuntu
Open terminal and type the following command:-
sudo apt-get install php5-xdebug
This will install XDebug.
Update xdebug.ini file
Type the following command on terminal to open xdebug.ini for edit:-
sudo gedit /etc/php5/apache2/conf.d/xdebug.ini
Add the following lines in it:-
xdebug.remote_enable=1
xdebug.remote_handler=dbgp
xdebug.remote_mode=req
xdebug.remote_host=127.0.0.1
xdebug.remote_port=9000
Restart Apache
Type any one of the following command on terminal to restart ...
Ubuntu Linux: How to install and setup XDebug in PHP Eclipse? [IMAGES] is a post from: Mukesh Chapagain's Blog