laravel - Xdebug error on local environment [Failed loading /usr/local/lib/php/pecl/20190902/xdebug.so:]
one text
Solution:
I got this working by doing something similar to this: https://stackoverflow.com/a/48054252
I added
export PATH="$(brew --prefix php)/bin:$PATH"
to ~/.bash_profile
.
You can run source ~/.bash_profile
after editing the file to get the changes to take effect.