Created
May 3, 2021 17:47
-
-
Save unrivaledcreations/e637998fc8c7a96342f2a596b6ef00ca to your computer and use it in GitHub Desktop.
`ext-xdebug.ini` for use with Laravel Valet.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
zend_extension=/usr/local/Cellar/php/8.0.5/pecl/20200930/xdebug.so | |
xdebug.mode=debug | |
xdebug.client_host=127.0.0.1 | |
xdebug.client_port=9003 | |
xdebug.discover_client_host=true | |
xdebug.default.idekey=PHPSTORM |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
To install:
pecl install xdebug
to install.php --ini
to locatephp.ini
.nano php.ini
to remove thezend_extension
line added by thexdebug
installer.cd {conf.d}
to visit theconf.d
directory for php.curl -o ext-xdebug.ini https://gist.githubusercontent.com/unrivaledcreations/e637998fc8c7a96342f2a596b6ef00ca/raw
to download this file into theconf.d
directory.nano ext-xdebug.ini
to update thezend_extension
parameter; it must match the install location ofxdebug.so
.valet restart
to make it take effect.