(失敗)VimでPHPのリモートデバッグがうまくいかない
VirtualBox上のUbuntuのVimから別のVirtualBoxのCentOSのPHPを
デバッグしようとVdebugのプラグインを入れてみた。
Bundle 'joonty/vdebug' let g:vdebug_options= { \ "port" : 9000, \ "server" : '192.168.56.99', \ "timeout" : 20, \ "on_close" : 'detach', \ "break_on_open" : 1, \ "ide_key" : '', \ "path_maps" : {}, \ "debug_window_level" : 0, \ "debug_file_level" : 0, \ "debug_file" : "", \ "watch_window_style" : 'expanded', \ "marker_default" : '⬦', \ "marker_closed_tree" : '▸', \ "marker_open_tree" : '▾' \}
しかし、F5を押してもすぐに
「Connection to the debugger has been closed」
が出てうまくいかない。
Waiting for a connection (Ctrl-C to cancel, this message will self-destruct in 20 seconds...) Connection to the debugger has been closed
CentOS上からVimでデバッグしようとすると
「Connection to the debugger has been closed」
がすぐに出ることはないが、接続されない。
debuggerというやつ(http://www.vim.org/scripts/script.php?script_id=1929)も
試してみたがうまくいかない。