ssh -R 9000:localhost:9000 remote_host
$ sudo apt-get install php5-xdebug
$ cat /etc/php5/conf.d/xdebug.ini
zend_extension=/usr/lib/php5/20090626/xdebug.so
xdebug.remote_autostart=On
xdebug.remote_enable=On
Preferences->PHP->Debug
- PHP Debugger: XDebug
- Configure->Configure->Access remote session (JIT): any