How to Install xDebug?

Hi, i want to ask how to install or enable xdebug php extension in manjaro?. I have followed the documentation but it still doesn’t work. Thank you.

Hi @FitoPietro,

You’ll need to give us more info to work with:

  • What version of PHP is it? This is important as there isn’t only one version.
  • How did you install it? What guide did you follow? Because there are packages, both in the AUR as well as the community repository both for version 7 as well as version 8:
$ pamac search xdebug

webgrind-git                                                                                                                                                                                                                 20110421-1           AUR
Xdebug Profiling Web Frontend in PHP.
webgrind                                                                                                                                                                                                                     1.6.1-1              AUR
Xdebug Profiling Web Frontend in PHP.
pugdebug-git                                                                                                                                                                                                                 1.1.0.r1.gddb1193-2  AUR
PugDebug is a standalone debugging client for PHP applications that uses XDebug as the debugging engine
php81-xdebug                                                                                                                                                                                                                 3.1.2-1              AUR
Xdebug is an extension for PHP to assist with debugging and development for php81
php80-xdebug                                                                                                                                                                                                                 3.1.3-1              AUR
xdebug module for php 8.0
php74-xdebug                                                                                                                                                                                                                 3.1.3-1              AUR
PHP debugging extension
php73-xdebug                                                                                                                                                                                                                 3.0.4-1              AUR
PHP debugging extension
php72-xdebug                                                                                                                                                                                                                 3.1.1-2              AUR
Xdebug is an extension for PHP to assist with debugging and development.
php71-xdebug                                                                                                                                                                                                                 2.6.0-1              AUR
PHP extension module that aids debugging and profiling
php70-xdebug                                                                                                                                                                                                                 2.6.0-1              AUR
PHP extension module that aids debugging and profiling
php56-xdebug                                                                                                                                                                                                                 2.5.5-1              AUR
php56 debugging extension
php55-xdebug                                                                                                                                                                                                                 2.5.5-1              AUR
php55 debugging extension
xdebug7                                                                                                                                                                                                                      3.1.0-1              AUR
PHP debugging extension. For PHP7 package.
xdebug-zts                                                                                                                                                                                                                   3.0.2-2              AUR
PHP debugging extension (for ZTS enabled PHP)
xdebug                                                                                                                                                                                                                       3.1.2-2              community
PHP debugging extension

Also, have a look here:

Hope you manage!