Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/jsp/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
xdebug 2.2.0RC2 vmware来宾操作系统出现奇怪错误?_Vmware_Xdebug - Fatal编程技术网

xdebug 2.2.0RC2 vmware来宾操作系统出现奇怪错误?

xdebug 2.2.0RC2 vmware来宾操作系统出现奇怪错误?,vmware,xdebug,Vmware,Xdebug,我有一个安装了Web服务器和xdebug 2.2.0RC2的vmware来宾操作系统,我想打开从主机到虚拟机的调试会话。在我的主机上安装了Opera和xdebug扩展。当我加载Komodo并尝试连接到xdebug时,它失败了,但当我尝试从Opera使用xdebug扩展时,有时我会在虚拟机xdebug日志文件中收到以下消息: Log opened at 2012-04-29 12:15:28 I: Checking remote connect back address. I: Rem

我有一个安装了Web服务器和xdebug 2.2.0RC2的vmware来宾操作系统,我想打开从主机到虚拟机的调试会话。在我的主机上安装了Opera和xdebug扩展。当我加载Komodo并尝试连接到xdebug时,它失败了,但当我尝试从Opera使用xdebug扩展时,有时我会在虚拟机xdebug日志文件中收到以下消息:

  Log opened at 2012-04-29 12:15:28
  I: Checking remote connect back address.
  I: Remote address found, connecting to 192.168.92.1:9000.
  I: Connected to client. :-)
  -> <init xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/
  xdebug" fileuri="file:///htdocs/typo3_src-4.7.0/typo3/install/index.php" 
  language="PHP" protocol_version="1.0" appid="5984" idekey="komodo-xdebug"><engine 
  version="2.2.0rc2"><![CDATA[Xdebug]]></engine><author><![CDATA[Derick Rethans]]></
  author><url><![CDATA[http://xdebug.org]]></url><copyright><![CDATA[Copyright (c) 
  2002-2012 by Derick Rethans]]></copyright></init>
  -> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/ 
   xdebug" status="stopping" reason="ok"></response>

  Log closed at 2012-04-29 12:15:58
问题是我的虚拟机位于vmnet8上,带有NAT,并且它的ip与我的虚拟机不同。xdebug日志中的ip是我的vmnet8适配器。从我的主机我可以ping我的web服务器和ftp,但我不能telnet到端口9000。我已经使用vmware nat选项对端口80和9000进行了端口转发,但没有ftp端口?当我用我的opera xdebug扩展启用xdebug时,我收到了上面的消息,然后站点停止加载,这样opera扩展就可以看到我的虚拟机和xdebug,但为什么Komodo不能呢?Komdo是否可以在没有debugproxy的情况下侦听另一台服务器,然后是localost?通常,我使用反向shell将远程主机隧道到本地机器,但这很特殊,因为我在本地机器上使用虚拟机,我想尝试常规的远程选项