xdebug远程调试不起作用,配置都正确!

[复制链接]
查看: 281|回复: 0

13

主题

13

帖子

47

积分

新手上路

Rank: 1

积分
47
发表于 2019-2-17 10:21:27 | 显示全部楼层 |阅读模式

          php.ini
[xdebug]
zend_extension=xdebug.so
xdebug.remote_handler=dbgp
xdebug.idekey=PHPSTORM
#开启远程调试
xdebug.remote_enable = On
#远程主机
xdebug.remote_host = localhost
#主机端口
xdebug.remote_port = 9003
#开启自动跟踪
xdebug.auto_trace=On
#开启远程调试自动启动
xdebug.remote_autostart = On
#收集变量
xdebug.collect_vars = On
#收集返回值
xdebug.collect_return=On
#收集参数
xdebug.collect_paras=On
#临时跟踪信息输出

#显示局部变量
xdebug.show_local_vars=On
xdebug.profiler_enable= On
xdebug.trace_enable_trigger = on

phpstorm里









启动调试,phpstorm就是无法响应
同样的配置,本地服务器就可以调试

vscode下的配置,本地也无法启动调试,端口换过9000,9001,9002都不行




防火墙已经关闭

远程使用的服务器为腾讯云,公网ip可以访问
安全规则如下


web上的phpinfo信息




         
              
               
            
            

              
         
      
      
      
腾讯云
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

精彩图文



在线客服(工作时间:9:00-22:00)
400-600-6565

内容导航

微信客服

Copyright   ©2015-2019  云服务器社区  Powered by©Discuz!  技术支持:尊托网络     ( 湘ICP备15009499号-1 )