使用XDebug调试及单元测试覆盖率分析
今天我就就自己对<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
(编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |