Apple M1 / Development / PHP

PHP 8 with Xdebug 3 on Apple M1

We can install Xdebug via pecl on MacOS with Homebrew. Paste that in terminal. And see if the php interpreter with Xdebug working: to correctly configuration Xdebug, locate (or create) section in php.ini file. Finding your currently php.ini location, type this in terminal: php –ini Open the php.ini file. add it as follows at the last lines of file Enjoy! 😊 Views: 18