Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save JakubAndrysek/85485a20e5647a9d73e40fffa1486b55 to your computer and use it in GitHub Desktop.
Save JakubAndrysek/85485a20e5647a9d73e40fffa1486b55 to your computer and use it in GitHub Desktop.
Setup PHP Xdebug on Mac M1 with PhpStorm

Setup PHP Xdebug on Mac M1 with PhpStorm

  • Install PHP
    • brew install php
  • Install Xdebug
    • pecl install xdebug
  • Add this config on the end of file php.ini
[xdebug]
zend_extension="xdebug.so"
xdebug.mode=debug
xdebug.client_host=127.0.0.1
xdebug.client_port=9003
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment