phpstorm 安装XeDbug

第一步:根据phpinfo()下载相对应的Xdebug插件,Xdebug下载路径https://xdebug.org/download.php

第二步:将下载好的Xdebug放到 G:\Service\xampp\php\ext下

第三步:在php.ini配置文件中添加下面配置

[xdebug]

zend_extension=G:\Service\xampp\php\ext\php_xdebug-2.5.3-5.6-vc11.dll
xdebug.remote_enable=1
xdebug.remote_handler=dbgp
xdebug.remote_mode=req 
#xdebug.remote_host=localhost
xdebug.remote_port=9000
xdebug.idekey=PHPSTORM

第四步:重启服务器并打开phpinfo脚本,看到下面内容即安装XdeBug成功

猜你喜欢

转载自www.cnblogs.com/qingxiaoping/p/9573186.html