2013-07-16 68 views
0

我在我的系统上安装了xdebugger和vim来调试PHP脚本。我将debugger.py和debugger.vim放在/ etc/vim/plugin中。但是,当我打开VIM,然后按F5它给出了这样的错误消息:xdebug和vim的安装问题

Error detected while processing /etc/vim/plugin/debugger.vim: 
line 1: 
Traceback (most recent call last): 
    File "<string>", line 1, in <module> 
IOError: [Errno 2] No such file or directory: '/home/moises/.vim/plugin/debugger.py' 
line 30: 
Traceback (most recent call last): 
    File "<string>", line 1, in <module> 
NameError: name 'debugger_init' is not defined 

有谁知道如何解决这个问题?

+1

我们能否获得该插件的链接? – FDinoff

回答

0

我会建议使用下面的插件:https://github.com/joonty/vdebug这是迄今为止最好的,也是最好的支持。

+0

感谢您的建议。我尝试安装vdebug,但我又遇到了麻烦。这是我尝试打开Vim时得到的错误消息。在处理/usr/share/vim/vim73/plugin/vdebug.vim检测 – moises

+0

错误: 线32: 回溯(最近最后调用): 文件 “”,第1行,在 IO错误:[错误2 ]没有这样的文件或目录: '/usr/share/vim/vim73/plugin/start_vdebug.py' 线111: 回溯(最近通话最后一个): 文件 “”,1号线,在 NameError:名称'DebuggerInterface'未定义 按ENTER键或键入命令以继续 – moises