dongmei1828 2013-01-23 12:04
浏览 134
已采纳

使用xdebug进行调试时的空白页

I'm using php storm and xdebug extenstion to debug my php code, when I activate debugging at the end of the request i see white page, with no respone, if I deactivate the debuggger helper, the page renders successfully.

Is it normal?

  • 写回答

1条回答 默认 最新

  • dreamy1992 2017-07-18 21:21
    关注

    Settings these values for xdebug in php.ini helped me:

    xdebug.default_enable=1
    xdebug.remote_autostart=1
    xdebug.remote_connect_back=On
    xdebug.remote_enable=1
    xdebug.remote_handler=dbgp
    xdebug.remote_port=9000
    xdebug.remote_host=localhost
    

    I had a problem where Vagrant would not be friends with Phpstorm. I was able to make a breakpoint on the first line of the script, but it dit not step further and just returned a blank line.

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?

悬赏问题

  • ¥20 用51单片机控制急停。
  • ¥15 孟德尔随机化结果不一致
  • ¥15 在使用pyecharts时出现问题
  • ¥15 深度学习残差模块模型
  • ¥50 怎么判断同步时序逻辑电路和异步时序逻辑电路
  • ¥15 差动电流二次谐波的含量Matlab计算
  • ¥15 Can/caned 总线错误问题,错误显示控制器要发1,结果总线检测到0
  • ¥15 C#如何调用串口数据
  • ¥15 MATLAB与单片机串口通信
  • ¥15 L76k模块的GPS的使用