Install xdebug on a Mac

Use pecl instead of brew to install xdebug on a Mac.


$ pecl install xdebug

Confirm installed:

$ php -i | grep xdebug

Fixes errors: "Error: No code coverage driver is available" and "Error: Incorrect whitelist config, no code coverage will be generated."

If you liked this posting, please feel free to leave me a comment below.
View this page on GitHub.
Posted .


Leave a Reply