Skip to content

Commit 9f20e01

Browse files
committed
install xdebug
1 parent 6175938 commit 9f20e01

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

frankenphp/Dockerfile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,10 @@ COPY --from=drupal:php8.4 /opt/drupal /opt/drupal
1717
COPY --from=drupal:php8.4 /usr/local/etc/php/conf.d/* /usr/local/etc/php/conf.d/
1818
COPY --from=composer/composer:2-bin /composer /usr/local/bin/
1919

20+
# install Xdebug, from https://xdebug.org/docs/install
21+
RUN pecl install xdebug \
22+
&& docker-php-ext-enable xdebug
23+
2024
# enable Xdebug remote debugging
2125
RUN { \
2226
echo 'xdebug.mode=debug'; \

0 commit comments

Comments
 (0)