飞奔的企鹅~

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理
  7 随笔 :: 1 文章 :: 0 评论 :: 1935 阅读
  1. 在php.ini中配置debug
[ioncube]
zend_extension=php_ioncube.dll

[XDebug]
zend_extension="D:\BtSoft\php\74\php_xdebug-3.1.4-7.4-vc15-nts-x86_64.dll"
xdebug.profiler_append = 1
xdebug.profiler_enable = 1
xdebug.auto_trace=On
xdebug.profiler_enable_trigger = 0
xdebug.profiler_output_dir ="D:\BtSoft\temp\xdebug"
xdebug.trace_output_dir ="D:\BtSoft\temp\xdebug"
xdebug.profiler_output_name = "cache.out.%t-%s"
xdebug.remote_enable = 1
xdebug.idekey="idea"
xdebug.mode="debug"
xdebug.remote_handler = "dbgp"
xdebug.remote_host = "127.0.0.1"
xdebug.remote_port= "9002"
xdebug.client_port= "9002"
  1. 在idea里面配置idea PHP servers

  1. 配置PHP WEB PAGE,点击validate。

  1. 验证通过后就可以debug运行,记得打开debug监听。

  1. 效果所下,复制连接后面的?XDEBUG_SESSION_START=16305可在其他地方重复使用。

http://127.0.0.1:9090/api/security/test?XDEBUG_SESSION_START=19193

6.问题汇总。
6.1 如果debug断点没反应,勾选break at first line in PHP scritp。

posted on   飞奔的企鹅~  阅读(489)  评论(0编辑  收藏  举报
相关博文:
阅读排行:
· 10年+ .NET Coder 心语 ── 封装的思维:从隐藏、稳定开始理解其本质意义
· 地球OL攻略 —— 某应届生求职总结
· 周边上新:园子的第一款马克杯温暖上架
· Open-Sora 2.0 重磅开源!
· 提示词工程——AI应用必不可少的技术
点击右上角即可分享
微信分享提示