Client: Netbeans 7.1.
php.ini conf:
zend_extension="C:\Program Files (x86)\PHP\ext\php_xdebug-2.1.2-5.3-vc9.dll"
xdebug.remote_autostart=off
xdebug.remote_enable=on
xdebug.remote_handler=dbgp
xdebug.remote_connect_back=1
xdebug.remote_host=localhost
xdebug.remote_port=9000
xdebug.remote_log=xdebug.log
I try to start a remote dbg session but complains and says it's waiting for a connection. However, I open up wireshark and I can see communication on the wire.
This is the TCP communication between my client and the debugger:
491.<?xml version="1.0" encoding="iso-8859-1"?>
<init xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug" fileuri="file:///C:/inetpub/wwwroot/project/webroot/william/index.php" language="PHP" protocol_version="1.0" appid="5780" idekey="netbeans-xdebug"><engine version="2.1.2"><![CDATA[Xdebug]]></engine><author><![CDATA[Derick Rethans]]></author><url><![CDATA[http://xdebug.org]]></url><copyright><![CDATA[Copyright (c) 2002-2011 by Derick Rethans]]></copyright></init>..NET...................1...System.Runtime.Remoting.RemotingException: ..vertr..delse f..r TCP-kanalsprotokoll: inledning (preamble) f..rv..ntas.
vid System.Runtime.Remoting.Channels.Tcp.TcpSocketHandler.ReadAndMatchPreamble()
vid System.Runtime.Remoting.Channels.Tcp.TcpSocketHandler.ReadVersionAndOperation(UInt16& operation)
vid System.Runtime.Remoting.Channels.Tcp.TcpServerSocketHandler.ReadHeaders()
vid System.Runtime.Remoting.Channels.Tcp.TcpServerTransportSink.ServiceRequest(Object state)
vid System.Runtime.Remoting.Channels.SocketHandler.ProcessRequestNow().....240.<?xml version="1.0" encoding="iso-8859-1"?>
<response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command=".NET."><error code="3"><message><![CDATA[invalid or missing options]]></message></error></response>.236.<?xml version="1.0" encoding="iso-8859-1"?>
<response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="."><error code="3"><message><![CDATA[invalid or missing options]]></message></error></response>.224.<?xml version="1.0" encoding="iso-8859-1"?>
<response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug"><error code="3"><message><![CDATA[invalid or missing options]]></message></error></response>.224.<?xml version="1.0" encoding="iso-8859-1"?>
<response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug"><error code="3"><message><![CDATA[invalid or missing options]]></message></error></response>.224.<?xml version="1.0" encoding="iso-8859-1"?>
<response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug"><error code="3"><message><![CDATA[invalid or missing options]]></message></error></response>.224.<?xml version="1.0" encoding="iso-8859-1"?>
<response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug"><error code="3"><message><![CDATA[invalid or missing options]]></message></error></response>.224.<?xml version="1.0" encoding="iso-8859-1"?>
<response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug"><error code="3"><message><![CDATA[invalid or missing options]]></message></error></response>.224.<?xml version="1.0" encoding="iso-8859-1"?>
<response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug"><error code="3"><message><![CDATA[invalid or missing options]]></message></error></response>.236.<?xml version="1.0" encoding="iso-8859-1"?>
<response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="."><error code="3"><message><![CDATA[invalid or missing options]]></message></error></response>.237.<?xml version="1.0" encoding="iso-8859-1"?>
<response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command=".."><error code="3"><message><![CDATA[invalid or missing options]]></message></error></response>.236.<?xml version="1.0" encoding="iso-8859-1"?>
<response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="."><error code="3"><message><![CDATA[invalid or missing options]]></message></error></response>.239.<?xml version="1.0" encoding="iso-8859-1"?>
<response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="..1."><error code="3"><message><![CDATA[invalid or missing options]]></message></error></response>.224.<?xml version="1.0" encoding="iso-8859-1"?>
<response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug"><error code="3"><message><![CDATA[invalid or missing options]]></message></error></response>.277.<?xml version="1.0" encoding="iso-8859-1"?>
<response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="System.Runtime.Remoting.RemotingException:"><error code="3"><message><![CDATA[invalid or missing options]]></message></error></response>.224.<?xml version="1.0" encoding="iso-8859-1"?>
<response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug"><error code="3"><message><![CDATA[invalid or missing options]]></message></error></response>.224.<?xml version="1.0" encoding="iso-8859-1"?>
<response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug"><error code="3"><message><![CDATA[invalid or missing options]]></message></error></response>.224.<?xml version="1.0" encoding="iso-8859-1"?>
<response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug"><error code="3"><message><![CDATA[invalid or missing options]]></message></error></response>.
My colleague has the exact same setup as me but with Windows 7 - English lang pack (I have the swedish version). It works for him. |