-
-
Save iradofurioso/89bb190242f37502e9e4abd689258991 to your computer and use it in GitHub Desktop.
Installing Xdebug on PHP 7.4 - MacOS Catalina
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
export PATH="/usr/local/opt/php/bin:$PATH" | |
pecl install xdebug-2.6.0 | |
# add configuration php.ini | |
zend_extension="xdebug.so" | |
xdebug.remote_enable=1 | |
xdebug.remote_autostart=1 | |
xdebug.remote_host=localhost | |
xdebug.remote_handler=dbgp | |
xdebug.remote_port=9000 | |
xdebug.idekey=PHPSTORM | |
Restart webserver. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment