1
我想爲我的編輯器創建一個XDebug UI,至此我無法成功運行任何命令。每次我運行一個命令,我得到invalid or missing options
。在多次閱讀文檔後,我看不到我真的錯過了什麼論點。這裏是我的XDebug得到的輸出:無效或缺少選項
22:06:52: RUN CALLED
22:06:58: Got connection from 127.0.0.1:52005
22:06:58: <?xml version="1.0" encoding="iso-8859-1"?>
<init xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug" fileuri="file:///C:/wamp/www/index.php" language="PHP" protocol_version="1.0" appid="4752" idekey="studio">
<engine version="2.2.5"><![CDATA[Xdebug]]></engine>
<author><![CDATA[Derick Rethans]]></author>
<url><![CDATA[http://xdebug.org]]></url>
<copyright><![CDATA[Copyright (c) 2002-2014 by Derick Rethans]]></copyright>
</init>
22:06:58: SENT COMMAND:breakpoint_set -i 1 -f file:///C:/wamp/www/index.php -n 248 -t line
22:06:58: SENT COMMAND:run -i 2
22:06:58: SENT COMMAND:breakpoint_list -i 3
22:06:58: <?xml version="1.0" encoding="iso-8859-1"?>
<response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="breakpoint_set">
<error code="3">
<message><![CDATA[invalid or missing options]]></message>
</error>
</response>
22:06:58: <?xml version="1.0" encoding="iso-8859-1"?>
<response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="run">
<error code="3">
<message><![CDATA[invalid or missing options]]></message>
</error>
</response>
22:06:58: <?xml version="1.0" encoding="iso-8859-1"?>
<response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="breakpoint_list">
<error code="3">
<message><![CDATA[invalid or missing options]]></message>
</error>
</response>
命令中有多個空格。感謝郵件列表中的@derrickrethans! –