Setting Up X-Debug - PHP


Setting Up X-Debug - PHP

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


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

在phpinfo()中我可以看到X-Debug扩展,现在如何开始?
请帮忙!

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:/里面/tmp"
xdebug。Profiler_output_name = "cachegrind.out.%s. "% H"

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