Judging by how many search engines get into this error message, I know this is a common problem, but there are no useful answers.
I am trying to configure XDebug in Vim using the Sam Ghods Debugger.vim script, following the instructions How to debug PHP with Vim and XDebug on Linux (which is usually the source of links to get Vim settings using XDebug). I am running MacVim 7.3 on OSX 10.6, and when I try to connect the debugger to the server, I get:
(<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()
Does anyone have any experience fixing this error?
Please note that I am not debugging port 9000 because it seems to be in conflict with fastcgi included in PHP. Therefore, I am debugging port 9001 and changing the settings in the php.ini and g: debuggerPort parameters, respectively.
Thank you for your help.
source
share