我已经配置xDebug和phpStorm进行调试。一切正常,断点被击中,但如果我尝试使用evaluate expression
窗口评估某些表达式,则调试会话将被破坏。我无法弄清楚它是否被xDebug或phpStorm打破了。我该怎么调试呢?
以下是xDebug日志中的最后一个条目:
<- eval -i 27 -- JEdMT0JBTFNbJ0lERV9FVkFMX0NBQ0hFJ11bJzM1ODQ0MTQxLWRlMmMtNDRhYi05OTBkLWEyZDRkYzg3ZDM4OSddPSRkYXRh
-> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="eval" transaction_id="27"><property type="array" children="1" numchildren="2" page="0" pagesize="100"><property name="expand" type="string" size="44" encoding="base64"><![CDATA[dGFncyx0aXRsZVRyYW5zbGF0aW9uLGRlc2NyaXB0aW9uVHJhbnNsYXRpb24=]]></property><property name="fields" type="string" size="26" encoding="base64"><![CDATA[aWQsdGl0bGUsZGlmZmljdWx0eSxzdGF0dXM=]]></property></property></response>
<- context_names -i 28 -d 0
-> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="context_names" transaction_id="28"><context name="Locals" id="0"></context><context name="Superglobals" id="1"></context><context name="User defined constants" id="2"></context></response>
<- context_get -i 29 -d 0 -c 0