Skip to content

Commit a8c685c

Browse files
committed
update dockerfile configuration
1 parent 3b76e20 commit a8c685c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,5 +33,6 @@ RUN git clone --recursive --depth=1 https://github.com/NoiseByNorthwest/php-spx.
3333
# Install and configure Xdebug
3434
RUN pecl install xdebug && docker-php-ext-enable xdebug && \
3535
echo "xdebug.mode=debug" >> /usr/local/etc/php/conf.d/docker-php-ext-xdebug.ini && \
36-
echo "xdebug.client_host=host.docker.internal" >> /usr/local/etc/php/conf.d/docker-php-ext-xdebug.ini && \
36+
echo "xdebug.client_host=172.20.0.1" >> /usr/local/etc/php/conf.d/docker-php-ext-xdebug.ini && \
37+
echo "xdebug.idekey=dicoding-debug" >> /usr/local/etc/php/conf.d/docker-php-ext-xdebug.ini && \
3738
rm -rf /tmp/pear

0 commit comments

Comments
 (0)