こんな感じでVim (GVimでもOK)でデバッグできるのでめちゃくちゃ便利。 端末上でできるのもかなりうれしい。 PHP5/Ubuntu 8.10編 XDebugをインストールする sudo apt-get -y install php5-xdebug XDebugの設定 sudo vim /etc/php5/apache2/conf.d/xdebug.ini xdebug.iniに以下を追加 [debug] ; Remote settings xdebug.remote_autostart=off xdebug.remote_enable=on xdebug.remote_handler=dbgp xdebug.remote_mode=req xdebug.remote_host=localhost xdebug.remote_port=9000 ; General xdebug.au
![PHPをXDebugとVimでデバッグする (Ubuntu 8.10編とCentOS 5.4/4.5編) - 山歩きプログラマー](https://cdn-ak-scissors.b.st-hatena.com/image/square/8423446950658656c0d515af25865463f5a476e8/height=288;version=1;width=512/https%3A%2F%2Fcdn-ak.f.st-hatena.com%2Fimages%2Ffotolife%2Fs%2Fsodomojo%2F20090225%2F20090225040350.png)