phpstorm xdebug 调试配置

第一次使用PhpStorm开发,各种配置会使得开发更简便。

xdebug安装

第一步:在php.ini中开启xdubug扩展

[XDebug]
xdebug.profiler_append = 0
xdebug.profiler_enable = 1
xdebug.profiler_enable_trigger = 0
xdebug.profiler_output_dir ="C:\Program Files\phpStudy\tmp\xdebug"
xdebug.trace_output_dir ="C:\Program Files\phpStudy\tmp\xdebug"
xdebug.profiler_output_name = "cache.out.%t-%s"
xdebug.remote_enable = 1
xdebug.remote_handler = "dbgp"
xdebug.remote_host = "127.0.0.1"
zend_extension="C:\Program Files\phpStudy\php53\ext\xdebug.dll"
查看phpinfo是否安装成功。如果是是用脑phpstudy集成环境,只需在扩展中开启即可

第二步 : 在火狐浏览器中添加插件

各浏览器相应xdebug插件请看这里点击打开链接

第三步:打开phpstorm如下图开启debug

至此,phpstorm使用xdebug配置完成。

打开任意php文件打个断点,浏览器开启The easizer xdebug 就可看开始xdebug调试之旅了!


评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值