Last active
May 20, 2025 14:18
-
-
Save eerison/a505bd545524ce99babe44653201b7dc to your computer and use it in GitHub Desktop.
xdebug Configuration
This file contains hidden or 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
| services: | |
| php: | |
| volumes: | |
| - ~/.config/nvim-external/xdebug-config/xdebug.ini:/usr/local/etc/php/conf.d/docker-php-ext-xdebug.ini | |
| #It is necessary for linux environment. | |
| extra_hosts: | |
| - "host.docker.internal:host-gateway" |
This file contains hidden or 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 | |
| xdebug.client_host=host.docker.internal | |
| # Recomendation from Vscode xdebug repository | |
| # https://github.com/xdebug/vscode-php-debug?tab=readme-ov-file#installation | |
| xdebug.mode = debug | |
| xdebug.start_with_request = yes |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment