将php5.5.x升级到php5.6后的xDebug问题

将php5.5.x升级到php5.6后的xDebug问题,php,sublimetext3,sublimetext,xdebug,php-5.6,Php,Sublimetext3,Sublimetext,Xdebug,Php 5.6,在将PHP5.5.x升级到5.6.0之后,我对xdebug有一个问题 错误: Please restart Xdebug debugging session. Disconnected from Xdebug debugger engine. 'utf-8' codec can't decode byte 0xe2 in position 1023: unexpected end of data 下面是我的php-v输出: PHP 5.6.19-1+deb.sury.org~trusty+1

在将PHP5.5.x升级到5.6.0之后,我对xdebug有一个问题

错误:

Please restart Xdebug debugging session.
Disconnected from Xdebug debugger engine.
'utf-8' codec can't decode byte 0xe2 in position 1023: unexpected end of data
下面是我的
php-v
输出:

PHP 5.6.19-1+deb.sury.org~trusty+1 (cli)  Copyright (c) 1997-2016 The PHP Group Zend Engine v2.6.0, Copyright (c) 1998-2016 Zend Technologies
    with Zend OPcache v7.0.6-dev, Copyright (c) 1999-2016, by Zend Technologies
    with Xdebug v2.4.1-dev, Copyright (c) 2002-2016, by Derick Rethans
有我的/etc/php5/apache2/php.ini(仅xdebug配置):

pd:myxdebug.sublime-settings-用户是:

{
    "max_depth": 5
}
这个问题不常见,有时还可以

更新

我在xdebug客户端中将
true
设置为
“debug”
变量

// Show detailed log information about communication
// between debugger engine and Sublime Text.
// Log can be found at Packages/User/Xdebug.log
"debug": true
检查Xdebug.log:

[03/16/2016 08:24:30PM] DEBUG - [Send command] context_get -i 18
[03/16/2016 08:27:08PM] INFO - Connection lost with debugger engine.
[03/16/2016 08:27:08PM] DEBUG - 'utf-8' codec can't decode byte 0xc3 in position 1023: unexpected end of data
[03/16/2016 08:27:09PM] DEBUG - [Send command] stack_get -i 19
[03/16/2016 08:27:09PM] INFO - Connection lost with debugger engine.
[03/16/2016 08:27:09PM] DEBUG - 'NoneType' object has no attribute 'send'

我仍然不知道如何修复它…

在更改“最大深度”参数后,我在xdebug客户端遇到了相同的错误。我必须将max_depth重置为1才能使xdebug再次工作。

在更改max_depth参数后,我在xdebug客户端遇到了相同的错误。我必须将max_depth重置为1才能使xdebug再次工作。

尝试使用xdebug var localhost/project/index.php?xdebug_SESSION_START=1它不工作:/我建议您创建一个“远程调试日志”,如中所述,并将此处的初始通信作为编辑附加到您的帖子中。此日志将显示Sublime和Xdebug之间的所有通信。我认为存在Xdebug错误是因为
[03/16/2016 08:27:09PM]信息-与调试器引擎的连接丢失。
而不是因为“解码”问题,因此您可能希望按照中的所有说明并在中提交错误报告。我安装的netbeans工作正常。。。崇高是做错了什么?还有另一个xdebug客户端用于sublime??我使用的是“xdebug客户端”软件包。提前感谢您使用xdebug var localhost/project/index.php?xdebug_SESSION_START=1不起作用:/我建议您创建一个“远程调试日志”,如中所述,并将此处的初始通信作为编辑附加到您的帖子中。此日志将显示Sublime和Xdebug之间的所有通信。我认为存在Xdebug错误是因为
[03/16/2016 08:27:09PM]信息-与调试器引擎的连接丢失。
而不是因为“解码”问题,因此您可能希望按照中的所有说明并在中提交错误报告。我安装的netbeans工作正常。。。崇高是做错了什么?还有另一个xdebug客户端用于sublime??我使用的是“xdebug客户端”软件包。先谢谢你
[03/16/2016 08:24:30PM] DEBUG - [Send command] context_get -i 18
[03/16/2016 08:27:08PM] INFO - Connection lost with debugger engine.
[03/16/2016 08:27:08PM] DEBUG - 'utf-8' codec can't decode byte 0xc3 in position 1023: unexpected end of data
[03/16/2016 08:27:09PM] DEBUG - [Send command] stack_get -i 19
[03/16/2016 08:27:09PM] INFO - Connection lost with debugger engine.
[03/16/2016 08:27:09PM] DEBUG - 'NoneType' object has no attribute 'send'