- Download and make Xdebug
wget http://xdebug.org/files/xdebug-2.5.5.tgz
tar xvf xdebug-2.5.5.tgz
rm xdebug-2.5.5.tgz
cd xdebug-2.5.5
/Applications/DevDesktop/php7_0/bin/phpize
./configure --enable-xdebug CC="gcc -arch i386" CXX="g++ -arch i386" -with-php-config=/Applications/DevDesktop/php7_0/bin/php-config
make