2013-07-16 64 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