phpstorm + firefox + xdebug安装配置方法

在window环境下集成环境 wamp 下使用phpstorm来使用xdebug

配置php.ini

 
 
  1. zend_extension = "D:\xampp\php\ext\php_xdebug.dll"(根据实际情况确定)
  2. xdebug.remote_enable =1
  3. xdebug.remote_handler = "dbgp"
  4. xdebug.remote_host = "localhost"
  5. xdebug.remote_mode = "req"
  6. xdebug.remote_port = 9000
  1. 下面是客户端调试,打开phpStorm,进入File>Settings>PHP>Servers,这里要填写服务器端的相关信息,name填localhost,host填localhost,port填80,debugger选XDebug
  2. 进入File>Settings>PHP>Debug,看到XDebug选项卡,port填9000,其他默认
  3. 进入File>Settings>PHP>Debug>DBGp Proxy,IDE key 填 phpStorm,host 填localhost,port 填80
  4. 点OK退出设置。

打开firefox进入应用商店,搜索xdebug,安装 the easiest Xdebug

  1. phpStorm里打开监听,就是一个电话一样的按钮。
  2. 在浏览器里打开XDebug工具,访问localhost,与phpStorm连接成功!
转载

http://www.chenxuanyi.cn/xampp-phpstorm-xdebug.html


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

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

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值