Skip to content

Commit

Permalink
Fixed Xdebug config
Browse files Browse the repository at this point in the history
  • Loading branch information
adrianmiu committed Oct 10, 2023
1 parent 9e4fcd7 commit 1cbd9f0
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,13 @@ RUN apt-get update && apt-get install -y \
libzip-dev

# Install PHP extensions
RUN docker-php-ext-install pdo_mysql mbstring exif pcntl bcmath gd zip xdebug
RUN docker-php-ext-install pdo_mysql mbstring exif pcntl bcmath gd zip

RUN pecl install xdebug \
&& docker-php-ext-enable xdebug

RUN { \
echo "xdebug.mode=debug"; \
echo "xdebug.mode=coverage"; \
echo "xdebug.start_with_request=yes"; \
echo "xdebug.client_host=host.docker.internal"; \
echo "xdebug.client_port=9000"; \
Expand Down

0 comments on commit 1cbd9f0

Please sign in to comment.