This is an old revision of the document!
Xdebug
Installation
Copy/paste phpinfo(); in the Xdebug install wizard for customized directions.
Generically this should work
pecl install xdebug
Ensure you put the xdebug config in the correct php.ini. If using Nginx + fpm it's something like /etc/php/7.x/fpm/php.ini you can also add this to the cli version if desired.