Xdebug on Ubuntu for WordPress

Turns out enabling Xdebug on Ubuntu for Eclipse PDT is easier than doing the same on Windows. The short version is installing the module as per this tutorial - http://ubuntuforums.org/showthread.php?t=525257 [bash] sudo apt-get install php5-dev php-pear sudo pecl install xdebug sudo updatedb locate xdebug (this one finds the xdebug path) sudo gedit /etc/php/apache2/php.ini [/bash] Adding this line (/w the path): [bash] zend_extension="/usr/lib/php5/20060613/xdebug.so" sudo /etc/init.d/apache2 restart (or sudo apache2ctl restart) [/bash] This install the xDebug and enables it. Then we need to add a few more lines of code in /etc/php5/apache2/php.ini (as in here): http://holisticsecurity.wordpress.com/2011/07/04/php-xdebug-xampp-win32/ [bash] xdebug.auto_trace = 0 xdebug.collect_includes =… Continue Reading