I went to the xdebug site, but I can't find a mac download. http://www.xdebug.org/download.php
Did I miss something? NetBeans tells me to get xdebug for setting up an PHP development environment on the mac.
You can just use the PECL download option, but you'll need to add a sudo
sudo pecl install xdebug
Then set the path to xdebug in your php.ini file. If everything is still at the default I'd imagine you'd need:
zend_extension="/usr/lib/php/extensions/no-debug-non-zts-20090626/xdebug.so"
However, you can check your extensions directory via:
pecl config-get ext_dir
(You will need to restart Apache after this install, either via the command line or by turning web sharing off and on again in System Preferences.)
HTH
Use Homebrew.
brew install php55-xdebug
Or php56-xdebug
or php70-xdebug
depending on your PHP version.
You will need to compile it from source. Or alternatively, maybe this tutorial on getting xdebug working on mac os x with macports will help.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With