Monday, November 10, 2014

PHP debug configuration


zypper in php5-xdebug
Edit file  /etc/php5/conf.d/xdebug.ini and edit the following lines (initially commented out)


xdebug.remote_enable = On
xdebug.remote_handler = dbgp
xdebug.remote_host = localhost
xdebug.remote_mode = req
xdebug.remote_port = 9000

xdebug.remote_autostart = 0

Disabling unreasonable input method

Annoyingly, SCIM or IBUS just seem to pop up after many new upgrades. It's a mess, doesn't work with emacs, takes over important key combinations like ctrl-space. It may be useful for people writing asian languages, but definitely not for a developer I wish it would not be forced on me!

Steps to disable:
just remove both scim and ibus packages from the system