加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 站长学院 > PHP教程 > 正文

使用XDebug调试及单元测试覆盖率分析

发布时间:2020-12-13 05:50:10 所属栏目:PHP教程 来源:网络整理
导读:今天我就就自己对SPAN lang=EN-US style="FONT-SIZE: 12pt"XDebug SPAN style="FONT-SIZE: 12pt; FONT-FAMILY: 宋体; mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-fareast-font-family: 宋体; mso-fareast-theme-font: minor-f

今天我就就自己对<SPAN lang=EN-US style="FONT-SIZE: 12pt">XDebug<SPAN style="FONT-SIZE: 12pt; FONT-FAMILY: 宋体; mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-fareast-font-family: 宋体; mso-fareast-theme-font: minor-fareast; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin">使用的一些体验做一小段分享。<SPAN lang=EN-US style="FONT-SIZE: 12pt">XDebug<SPAN style="FONT-SIZE: 12pt; FONT-FAMILY: 宋体; mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-fareast-font-family: 宋体; mso-fareast-theme-font: minor-fareast; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin">也是因为需要是用来生成覆盖率分析文件才安装的,刚接触不久,平时用的也不是很频繁,但是这个的确是一个好工具,如果想要依赖它来分析程序的性能还是需要自己亲手去试试。具体它有多好,请听我一一道来。

dll

zend_extension_ts = php_xdebug.dll

xdebug.profiler_enable = on

xdebug.trace_output_dir = D:PHPAPPXDebug

xdebug.profiler_output_dir=D:PHPAPPXDebug

ts

注意该项会影响运行速度,因为他需要记录跟踪过程中的一系列事件。

YouTest

.

F

E

I

S:

YouTest

xdebug.profiler_output_dir=D:PHPAPPXDebug

XDebug

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读