At the time of writing this, the latest version of Laravel Homestead (4.0) comes packaged with PHP 7 and Xdebug 2.4.0RC3. However, it’s not configured for remote debugging. Follow the steps below to properly setup Xdebug.
First, ssh into the vagrant box and append the content below to the
xdebug.idekey = "phpstorm" xdebug.remote_enable = on xdebug.remote_connect_back = on xdebug.remote_port = 9000
Now, all that’s left to do is restart PHP-FPM, and you’re ready to rock!
sudo service php7.0-fpm restart