无效或缺失选项
invalid or missing options
我正在尝试为我的编辑器创建 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>
在这三种情况下,您似乎在 -i x
之前多了一个 space,对于 breakpoint_set,在 -i 1
之后也多了一个。你不应该那样做。如果这不能解决问题,您可能有一些其他随机字符,我无法从您的 post.
中看到这些字符
我正在尝试为我的编辑器创建 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>
在这三种情况下,您似乎在 -i x
之前多了一个 space,对于 breakpoint_set,在 -i 1
之后也多了一个。你不应该那样做。如果这不能解决问题,您可能有一些其他随机字符,我无法从您的 post.