Learn how to set up Xdebug for PhpStorm and Laravel Valet
Published on by Paul Redmond
I’ve been developing web applications for about 15 years, but somehow Xdebug is still challenging to set up. Follow along and learn how to find Xdebug settings and configure it for local development with PhpStorm.
If you are using PHP-FPM locally, you might have run into an annoying issue that no matter what you do Xdebug won’t work! I might have an answer for you in this video.
Here are my Xdebug settings from the video so you can easily copy and paste them if you want:
[xdebug]zend_extension="/usr/local/opt/php71-xdebug/xdebug.so"xdebug.remote_autostart=1xdebug.default_enable=1xdebug.remote_port=9001xdebug.remote_host=127.0.0.1xdebug.remote_connect_back=1xdebug.remote_enable=1xdebug.idekey=PHPSTORM
If you find this video useful, the best thing you can do is follow our YouTube channel and share this article on your favorite social networks!