Debugging on Laravel Homestead using VS Code

Edit the Xdebug ini file in your Vagrant Homestead box:- Make sure the contents look like this:- The important settings are the idekey and remote_autostart. Then restart FPM-PHP with the following command:- If you’re using PHP 7.3, just modify the command as required. Your VS Code debug config file should look something like this:-

Scroll to Top