Skip to content

Commit d6fa9ff

Browse files
committed
Fixed xdebug settings to be more dynamic on mac
1 parent df2a5e5 commit d6fa9ff

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

docker-src/cms/Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,8 @@ RUN apk add --no-cache \
133133
&& echo "xdebug.remote_autostart=on" >> /usr/local/etc/php/conf.d/docker-php-ext-xdebug.ini \
134134
# Remote connect_back only works on Linux systems because OSX abstracts it away into a VM
135135
&& echo 'xdebug.remote_connect_back="${CONNECTBACK}"' >> /usr/local/etc/php/conf.d/docker-php-ext-xdebug.ini \
136-
&& echo "xdebug.remote_host=192.168.65.1" >> /usr/local/etc/php/conf.d/docker-php-ext-xdebug.ini \
136+
# TODO: debug this solution on Windows
137+
&& echo "xdebug.remote_host=docker.for.mac.localhost" >> /usr/local/etc/php/conf.d/docker-php-ext-xdebug.ini \
137138
&& apk del .build-deps
138139

139140
# color avaiable thanks to ncurses packages above

0 commit comments

Comments
 (0)