windk

emacs geben xdebug mac

1 配置 mac php mysql apache 环境, 安装上 xdebug memcached

2 安装 emacs

3 下载 geben http://code.google.com/p/geben-on-emacs/

解压到 ~/emacs/elisp/

4 增加下面4行到~/.emacs

(add-to-list 'load-path "~/emacs/elisp/")

(add-to-list 'load-path "~/emacs/elisp/geben")

(require 'geben)

(require 'dbgp)

spc step into/step over
i     step into
o    step over
r    step out
b    set a breakpoint at a line
u    unset a breakpoint at a line
g    run
e    eval expression (to inspect variables: best is probably print_r($this, true))
q    stop debugger

posted on 2011-08-09 21:41  windk  阅读(458)  评论(0)    收藏  举报

导航