http://blog.chinaunix.net/uid-16235175-id-3275023.html
记录一下刚刚配置成功的 vim+xdebug+DBGp 单步调试 PHP:
Vim : vim7.3
PHP : 5.2.14 fast-cgi
Xdebug : 2.1.1
DBGp : 1.1.1
1、编译vim7.3
首先安装依赖包:
- apt-getupdate
- apt-get-yinstallgccg++makemercuriallibncurses5-devlibgnome2-devlibgnomeui-devlibgtk2.0-devlibatk1.0-devlibbonoboui2-devlibcairo2-devlibx11-devlibxpm-devlibxt-devwmctrl
因为插件需要python、sign支持,所以首先要求OS上安装了python,一般系统自带python,但是不会自带python开发包,所以需要另外手动安装,ubuntu 安装python2.6:
- sudoapt-getinstallpythonpython-dev