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.
[xdebug] zend_extension = /usr/lib/php/20180731/xdebug.so xdebug.remote_enable = 1 xdebug.remote_autostart = 1 xdebug.remote_autorestart = 1 xdebug.remote_host = On xdebug.default_enable = 1 xdebug.remote_port = 9900 xdebug.profiler_enable = 1 xdebug.remote_connect_back = 1