设置X-Debug - PHP

时间:2011-05-01 04:03:30

标签: php xdebug

我想在我的PHP项目中使用X-Debug对其进行分析! 所以我下载了扩展添加到php.ini并写了这行也

xdebug.profiler_enable = 1
xdebug.profiler_append = 1
xdebug.remote_autostart = 1
xdebug.trace_options = 1

在phpinfo()中,我可以看到X-Debug扩展,现在该如何启动? Plz帮忙!

This worked, but how to read it :( !
; X-Debug配置
xdebug.profiler_enable = 1
xdebug.profiler_append = 1
xdebug.remote_autostart = 1
xdebug.trace_options = 1
xdebug.profiler_output_dir =“E:/ wamp / tmp”
xdebug.profiler_output_name =“cachegrind.out。%s。%H”

1 个答案:

答案 0 :(得分:0)

您需要一个也支持xdebug的IDE。许多编辑都支持它,其他人可能需要安装插件。你在用什么编辑器? Notepad ++,Eclipse(和变体),甚至VIM都支持xdebug。