Homestead Vagrant xdebug3 vscode phpspec

Reset to original state ./vagrant destroy –force && ./vagrant up .vscode/launch.json { “version”: “0.2.0”, “configurations”: [ { “name”: “Listen for Xdebug”, “type”: “php”, “request”: “launch”, “port”: 9003, “log”: true, “pathMappings”: { “/home/vagrant/homestead.test”: “/home/chris/code/homestead.test” } } ] } Start an ssh session ./vagrant ssh Create the xdebug log file sudo touch /var/log/xdebug.log && sudo chmod 777… Continue reading Homestead Vagrant xdebug3 vscode phpspec