PHP的xdebug安装步骤以及遇到的坑

查看xdebug版本的网址https://xdebug.org/wizard

安装步骤记录https://www.jianshu.com/p/74a1d60ab5ef

配置文件,省的再敲了 

记住phpstudy只有32位的,安装xdebug一定安装32位的, 不然显示不了

还有安装VC 对应的版本,不然也不行

成功的

[Xdebug]
zend_extension=D:\phpstudy_pro\Extensions\php\php7.3.4nts\ext\php_xdebug.dll
;亦可 php_xdebug.dll
;亦可 php_xdebug-2.5.4-5.6-vc11-nts.dll
xdebug.profiler_append = 0
xdebug.profiler_enable = 1
xdebug.profiler_enable_trigger = 0
xdebug.profiler_output_dir ="D:\phpstudy_pro\xdebug"
xdebug.trace_output_dir ="D:\phpstudy_pro\xdebug"
xdebug.profiler_output_name = "cache.out.%t-%s"
xdebug.remote_enable = 1
xdebug.remote_handler = "dbgp"
xdebug.remote_host = "127.0.0.1"
xdebug.remote_port = 9000
xdebug.remote_mode = "req"
xdebug.idekey = phpstorm
[XDebug]
zend_extension="D:\phpstudy\PHPTutorial\php\php-5.6.27-nts\ext\php_xdebug.dll"
;亦可 php_xdebug.dll
;亦可 php_xdebug-2.5.4-5.6-vc11-nts.dll
xdebug.profiler_append = 0
xdebug.profiler_enable = 1
xdebug.profiler_enable_trigger = 0
xdebug.profiler_output_dir ="D:\phpstudy\PHPTutorial\tmp\xdebug"
xdebug.trace_output_dir ="D:\phpstudy\PHPTutorial\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"
xdebug.remote_port = 9000
xdebug.remote_mode = "req"
xdebug.idekey = phpdebug

 

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值