I am trying to install XDebug on my macOS High Sierra 10.13 that is running PHP 7.3. Also have Valet and the app is running on PHP@7.2 via Valet link. I need to install XDebug, but I can't!
There's any way to do that?
Let's see some code:
brew-php-switcher php@7.4 shivammathur/php/php@5.6 shivammathur/php/php@7.4
exolnet/deprecated/php@5.6 php@8.0 shivammathur/php/php@5.6-debug shivammathur/php/php@7.4-debug
exolnet/deprecated/php@7.0 phpbrew shivammathur/php/php@7.0 shivammathur/php/php@8.0
exolnet/deprecated/php@7.1 phplint shivammathur/php/php@7.0-debug shivammathur/php/php@8.0-debug
php ✔ phpmd shivammathur/php/php@7.1 shivammathur/php/php@8.2
php-code-sniffer phpmyadmin shivammathur/php/php@7.1-debug shivammathur/php/php@8.2-debug
php-cs-fixer phpstan shivammathur/php/php@7.2 ✔ shivammathur/php/php@8.3
php-cs-fixer@2 phpunit shivammathur/php/php@7.2-debug shivammathur/php/php@8.3-debug
php@7.2 ✔ shivammathur/php/php ✔ shivammathur/php/php@7.3 ✔ pup
php@7.3 ✔ shivammathur/php/php-debug shivammathur/php/php@7.3-debug pcp
| Site | SSL | URL | Path | PHP Version |
+----------------+-----+----------------------------+----------------------------------------------------+-------------+
| PHP-Example | | http://PHP-Example.test | /Users/marcellopato/Documents/Sites/PHP-Example | php@8.1 |
| compliancy.com | | http://compliancy.com.test | /Users/marcellopato/Documents/Sites/compliancy.com | php@7.2 |
+----------------+-----+----------------------------+----------------------------------------------------+-------------+