If you need to install Xdebug on openSUSE and don’t want ot use existing binary repo easiest way is to use pecl to do that and here is how…

First install all required packages

dev-lnx-02:~ # zypper --non-interactive install gcc autoconf automake php5 php5-pear php5-devel

Now we can download and install Xdebug itself: