xdebug

Cannot load Xdebug - it was already loaded

Submitted by dravenk on Fri, 05/04/2018 - 15:48
dravenk:d8 longxianwen$ php -v
Cannot load Xdebug - it was already loaded
PHP 7.2.5 (cli) (built: Apr 26 2018 12:07:32) ( NTS )
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.2.0, Copyright (c) 1998-2018 Zend Technologies
    with Xdebug v2.6.0, Copyright (c) 2002-2018, by Derick Rethans
    with Zend OPcache v7.2.5, Copyright (c) 1999-2018, by Zend Technologies

检查php配置文件所在目录

PHPstorm 在 mac 上配置 xdebug

Submitted by dravenk on Fri, 05/19/2017 - 14:04

由于大部分电脑在连接上网络后都是获取动态 IP 地址,所以首先将网卡 IP 设置为静态 IP,通过
sudo ifconfig en0 alias 10.254.254.254 255.255.255.0
将en0的 IP 设置静态的 IP 别名
通过 ifconfig查看网卡 IP,