Have you read this amazing blog from Freek Van der Herten Setting up Xdebug with Laravel Valet
Feb 2, 2020
7
Level 1
xdebug with valet
I'm using laravel valet and I installed xdebug with pecl (seems to be the only way) on mac osx.
I tried to follow every tips i could find here and on the internet, but xdebug still doesn't.
I have no any error messages, nothing.
Here's my php.ini config :
[xdebug]
zend_extension="/usr/local/Cellar/php/7.4.2/pecl/20190902/xdebug.so"
xdebug.remote_autostart=1
xdebug.default_enable=1
xdebug.remote_port=9001
xdebug.remote_host=127.0.0.1
xdebug.remote_connect_back=1
xdebug.remote_enable=1
xdebug.idekey=PHPSTORM
I set in phpstorm's config the 9001 port, delete any server waiting for phpstorm trigger it but nothing (i checked the "Can accept external connections").
Any suggestions ?
Level 1
just reboot my laptop and it works now ! So i did the right things, just reboot valet seems to be not enough
1 like
Please or to participate in this conversation.