Setting up Xdebug (Laravel Valet / PHP 7.4 / PHPStorm)
This tutorial describes how to set up Xdebug in combination with Laravel Valet, PHP 7.4, and PHPStorm. The prerequisite is that Laravel Valet is installed as described here. Installing Xdebug The first step is to prepare PECL: pecl channel-update pecl.php.net ; pecl clear-cache Now, we can install Xdebug: pecl install xdebug Next, restart Laravel Valet: valet restart In the next step, we check if XDebug is installed correctly: php -m | grep 'xdebug' The output should contain xdebug. Now we n
Webdesigner / Web developer