xdebug只能监听一个下项目
[if !supportLists]1. [endif]配置網卡
$ifconfig lo0 alias 10.254.254.254
[if !supportLists]2. [endif]根據xdebug.ini中配置的port內容設定phpstorm
設定監聽的port
![](https://img.haomeiwen.com/i14510876/f3feea725a505e9a.png)
設定proxy
![](https://img.haomeiwen.com/i14510876/5508cefbe4c99451.png)
[if !supportLists]3. [endif]設定server配置
![](https://img.haomeiwen.com/i14510876/05e02db031f7e65a.png)
name:隨意
host、port:按照xebug.ini設定
path:與nginx中host設置相同
网友评论