Created
May 13, 2025 08:59
-
-
Save jmsfwk/29518109dbf3d0bd48e030f7f1ced2ac to your computer and use it in GitHub Desktop.
xDebug
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
| FROM php:8.4-fpm | |
| RUN pecl install xdebug && docker-php-ext-enable xdebug |
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: | |
| environment: | |
| PHP_IDE_CONFIG: "serverName=docker" |
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: | |
| build: | |
| context: .docker/php | |
| environment: | |
| XDEBUG_MODE: debug | |
| XDEBUG_CONFIG: "client_host=host.docker.internal" | |
| volumes: | |
| - .:/var/www/html |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment