"Normally", these instructions should be also valid (in similar way) for other Linux distros.
1.- Install Xdebug using pacman:
sudo pacman -Sy xdebug2.- Edit php.ini file and add xdebug as Zend extension:
sudo emacs /etc/php/php.iniadd xdebug.so lines as follow:
; other extensions...
extension=xmlrpc.so
extension=xsl.so
extension=zip.so
+
+ ; Xdebug extension
+ zend_extension=xdebug.so3.- Verify if the extension is loaded:
php -r "var_dump(extension_loaded('xdebug'));"
Command line code:1:
bool(true)
Thank you!