vagrant destroy -f && vagrant up
sudo apt-get install php-xdebug
sudo service php7.4-fpm restart
vi /etc/php/7.4/fpm/conf.d/20-xdebug.ini
vi /etc/php/7.3/cli/conf.d/20-xdebug.ini
[xdebug]
zend_extension=xdebug.so
xdebug.remote_enable = 1
xdebug.remote_connect_back = 1
xdebug.remote_port = 9000
xdebug.max_nesting_level = 512
xdebug.remote_host=10.0.2.2
xdebug.remote_log=/tmp/xdebug.log