How to setup Xdebug in MacOSX 10.10 Yosemite

Posted on  7/14/2014

Xdebug is awesome debugging tool for php developers , if you ever developed  in php and never used debug then you must give try . its a php extension that will help you a lot .

PageLines- Xdebug-logo.png
PageLines- Xdebug-logo.png


just check if  /usr/lib/php/extensions/no-debug-non-zts-20121212/  folder is present it means you don’t have to worry about anything just open your php.ini

file /usr/lib/php/extensions/no-debug-non-zts-20121212/

just add at the end of php.ini


Or use another method

brew install automake autoconf
git clone
cd xdebug
./configure --enable-xdebug
cp -r modules/ /usr/local/xdebug
zend_extension= /usr/local/xdebug/
xdebug php yosemite
xdebug php yosemite

  • Home
  • About