Php 自动\u前置\u文件中断xdebug

Php 自动\u前置\u文件中断xdebug,php,phpstorm,xdebug,Php,Phpstorm,Xdebug,我正在用PHPStorm 2016.2调试PHP5.2(我知道它很旧), 但是,当我在apache vhost文件中添加自动预结束文件或自动追加文件时: xdebug中断 IDE在第一个断点处停止,然后调试在我尝试跳过/进入/退出时停止,浏览器返回“未收到数据” 我的xdebug.conf文件: #[xdebug] php_value xdebug.remote_enable on #php_value xdebug.default_enable on php_value xdebug.re

我正在用PHPStorm 2016.2调试PHP5.2(我知道它很旧),

但是,当我在apache vhost文件中添加自动预结束文件自动追加文件时:

xdebug中断

IDE在第一个断点处停止,然后调试在我尝试跳过/进入/退出时停止,浏览器返回“未收到数据”

我的xdebug.conf文件:

#[xdebug]
php_value xdebug.remote_enable on
#php_value xdebug.default_enable on
php_value xdebug.remote_autostart off
php_value xdebug.remote_port 9000
php_value xdebug.remote_host 192.168.100.66
php_value xdebug.profiler_enable 0
php_value xdebug.profiler_enable_trigger 1
php_value xdebug.profiler_output_name cachegrind.out-%H-%R-%t
php_value xdebug.profiler_output_dir /home/abc/xdebug-profile
php_value xdebug.trace_enable_trigger 1   
#php_value xdebug.auto_trace off
php_value xdebug.trace_output_name trace.out-%H-%R-%t
php_value xdebug.trace_format 1
php_value xdebug.idekey PHPSTORM

解决方案是像这样移动apache虚拟主机末尾的xdebug.conf

        SetEnv ENVIRONMENT dev
        php_value auto_prepend_file /home/abc/prepends/apache_prepend.php
        php_value auto_append_file /home/abc/apache_append.php

        #INCLUDE XDEBUG AT THE END 
        Include /home/postoronca/projects/immobiliare/site/vhosts/xdebug_notrace.conf

</VirtualHost>
SetEnv环境开发
php_value auto_prepend_file/home/abc/prepends/apache_prepend.php
php\u value auto\u append\u file/home/abc/apache\u append.php
#在末尾包括XDEBUG
Include/home/postoronca/projects/immobiliare/site/vhosts/xdebug_notrace.conf
p、 后来我发现php\u值xdebug.auto\u trace off
在不更改apache vhost的情况下也修复了此错误。

如果将
xdebug.auto_trace
设置为true,它会改变什么吗?我尝试过,但没有任何改变。获得答案和避免分发赏金的简单方法:D干得好。无论如何,你不会得到赏金。我不在乎赏金
        SetEnv ENVIRONMENT dev
        php_value auto_prepend_file /home/abc/prepends/apache_prepend.php
        php_value auto_append_file /home/abc/apache_append.php

        #INCLUDE XDEBUG AT THE END 
        Include /home/postoronca/projects/immobiliare/site/vhosts/xdebug_notrace.conf

</VirtualHost>