// download:
https://xdebug.org/wizard.php
// run command in terminal:
php -i
// and follow below link:
https://www.dorusomcutean.com/install-xdebug-windows-phpstorm/
install with https://github.com/xdebug/xdebug
or
sudo apt install php-xdebug
pecl install xdebug