Last active
July 12, 2022 00:22
-
-
Save chrismcintosh/b8d295297da56f17420cac89fee23989 to your computer and use it in GitHub Desktop.
Homestead 2022 - X Debug 3 - PHP 8 working (July 11, 2022) config
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
zend_extension=xdebug.so | |
xdebug.mode=debug | |
xdebug.discover_client_host=1 | |
xdebug.client_port = 9003 | |
xdebug.max_nesting_level = 512 | |
xdebug.idekey=VSCODE | |
xdebug.client_host=10.0.2.2 | |
xdebug.start_with_request=yes |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
sudo vim [location of file]
while ssh'd into homesteadsudo service php8.0-fpm reload
.vscode/launch.json
{ // Use IntelliSense to learn about possible attributes. // Hover to view descriptions of existing attributes. // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 "version": "0.2.0", "configurations": [ { "name": "Listen for Xdebug", "type": "php", "request": "launch", "pathMappings": { "/home/vagrant/sample": "${workspaceFolder}" }, "port": 9003 } ] }