# Xdebug


title: X-Debug Install label: Server & Software Setup order: 100 authors:

https://linuxconfig.org/how-to-install-xdebug-on-redhat-8


## Install dependencies

```shell
sudo dnf install php php-devel php-pear
sudo pecl install xdebug
sudo nano /etc/php.d/30-xdebug.ini

pecl install xdebug