PHP7 以上版本 使用 xdebug 踩坑
php7 以上版本使用 xdebug
不要迷信xdebug 官网的那个 custom installation instructions. 不要迷信xdebug 官网的那个 custom installation instructions. 不要迷信xdebug 官网的那个 custom installation instructions.
重要的事情说N遍,本屌丝被这个坑死 了,坑的我死去活来,大半年没有xdebug,站撸代码都不顺畅了,只能躺撸……,使用 custom installation instructions 下载的xdebug.dll虽然能安装成功,在phpinfo里面也能见到,但是断点的时候就是进入不了断点,而且断点的页面一直pending 卡死,错误日志里面最多就提示个超时,尼玛,根本就不知道什么原因
在此填坑 要注意 要注意 要注意
建议,直接自己根据 php版本下载 对应的xdebug,比如我的php 7.1.13-nts 使用官网 custom installation instructions 方式下载的xdebug 是 php_xdebug-2.7.2-7.1-vc14-nts.dll 而且安装成功,但根本就没屌用,进入不了断点 还是自己手动下的 php_xdebug-2.6.0-7.1-vc14-nts.dll 才是正宮,其它都是狗娘样的婊砸
本作品采用《CC 协议》,转载必须注明作者和本文链接
推荐文章: