根据这个错误信息产生多少搜索引擎来判断,我知道这是一个常见问题,但没有任何有用的答案。无法使XDebug在Vim中建立连接。 “没有attribue'停止'”错误
我试图在使用Sam Ghods Debugger.vim脚本的Vim中设置XDebug,同时遵循How to Debug PHP with Vim and XDebug on Linux(这是通过XDebug获得Vim安装程序的常见参考资料)的说明。我在OSX 10.6运行的MacVim 7.3,当我尝试调试器连接到服务器时,我得到:
(<type 'exceptions.AttributeError'>, AttributeError("DbgProtocol instance has no attribute 'stop'",), <traceback object at 0x104595680>)
File "/Users/tjlahr/.vim/plugin/debugger.py", line 1078, in debugger_run
debugger.run()
File "/Users/tjlahr/.vim/plugin/debugger.py", line 928, in run
self.protocol.accept()
File "/Users/tjlahr/.vim/plugin/debugger.py", line 560, in accept
self.stop()
没有任何人有经验,解决此错误?
请注意,我没有调试端口9000,因为它似乎可能与PHP中启用的fastcgi冲突。因此,我正在通过端口9001进行调试,并分别通过php.ini和g:debuggerPort变量中的设置进行了更改。
感谢您的帮助。
你可以发布你的php.ini的XDebug部分吗? – glomad 2011-02-21 18:41:24