valet环境PHPstorm+xdebug调试

1.安装xdebug

2.配置xdebug

zend_extension="/usr/local/Cellar/php@7.2/7.2.18/pecl/20170718/xdebug.so"
[xdebug]
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

3.配置PHPstorm

原文地址:https://www.cnblogs.com/shiwenhu/p/10837571.html