2011-05-01 33 views
0

我想在我的PHP项目中使用X-Debug来分析它!
所以我下载的扩展添加为php.ini并写下这行太设置X-Debug - PHP

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

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

This worked, but how to read it :(!
; X-调试配置
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“

回答

0

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

+0

我使用notepad ++! – Sourav 2011-05-01 04:17:15

+0

我在Google上找到了这篇文章[用Notepadd ++设置XDebug](http://amiworks.co.in/talk/debugging-php-using-xdebug-and-notepad-part-i/)另外,如果您使用的是firefox有几个插件,可以让你轻松切换xdebug的开关状态。 – Brombomb 2011-05-01 04:18:49