Skip to content

Instantly share code, notes, and snippets.

@joram77
Last active November 7, 2023 16:23
Show Gist options
  • Save joram77/6b9f87c5b7f335faed4f85a3cfdec5ce to your computer and use it in GitHub Desktop.
Save joram77/6b9f87c5b7f335faed4f85a3cfdec5ce to your computer and use it in GitHub Desktop.
zend_extension=xdebug.so
xdebug.mode=debug
xdebug.log=/var/log/xdebug.log
xdebug.idekey=PHPSTORM #Settings > Languages & Frameworks > PHP > Servers > localhost > [X] use path mappings > project files fill absolute path on server
xdebug.client_host=host.docker.internal #cat /etc/resolv.conf for the IP address of the Windows machine as seen from WSL 2 (the WSL 2 VM)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment