1.VIM 的部份 在你的vim 下 :version 看看有沒有+python 和+sign 沒的話…. 把vim 重裝… #make install WITH_PYTHON 這樣應該就會有了… 2.安裝Script 去這個地方抓 http://www.vim.org/scripts/script.php?script_id=1929 放到/usr/local/share/vim/vim71/plugin/底下… 3.安裝xdebug #cd /usr/ports/devel/php-xdebug #make install #vim /usr/local/etc/php.ini [sourcecode language='text'] [Zend] zend_extension = /full/path/to/xdebug.so xdebug.remote_enable = 1 xdebug.remote_port = 9000 xdebug.remote_host = localhost [/sourcecode] 加入上面這幾行.. 看一下phpinfo 有沒有出現xdebug 4. 然後開browser run你的url 後面的?XDEBUG_SESSION_START=1 這是重點.. 例如 http://example.com/index.php?XDEBUG_SESSION_START=1 5. #vim xxx.php 然後按F5 [...]
posted in 有的沒的 by johnpupu