Skip to content

Instantly share code, notes, and snippets.

@iradofurioso
Created August 5, 2020 22:38
Show Gist options
  • Save iradofurioso/89bb190242f37502e9e4abd689258991 to your computer and use it in GitHub Desktop.
Save iradofurioso/89bb190242f37502e9e4abd689258991 to your computer and use it in GitHub Desktop.
Installing Xdebug on PHP 7.4 - MacOS Catalina
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