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)
5
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