Skip to content

Commit d9020db

Browse files
committed
Update Dockerfile
Habilitando o debug remoto
1 parent 4e88078 commit d9020db

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

php-5.6/Dockerfile

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -60,10 +60,9 @@ RUN yes '' | pecl install -f xdebug
6060
RUN echo "zend_extension=$(find /usr/local/lib/php/extensions/ -name xdebug.so)" > /usr/local/etc/php/conf.d/xdebug.ini \
6161
&& echo "xdebug.remote_enable=on" >> /usr/local/etc/php/conf.d/xdebug.ini \
6262
&& echo "xdebug.remote_handler=dbgp" >> /usr/local/etc/php/conf.d/xdebug.ini \
63-
&& echo "xdebug.remote_connect_back=0" >> /usr/local/etc/php/conf.d/xdebug.ini \
63+
&& echo "xdebug.remote_connect_back=1" >> /usr/local/etc/php/conf.d/xdebug.ini \
6464
&& echo "xdebug.remote_autostart=off" >> /usr/local/etc/php/conf.d/xdebug.ini \
65-
&& echo "xdebug.remote_port=9004" >> /usr/local/etc/php/conf.d/xdebug.ini \
66-
&& echo "xdebug.remote_log=\"/var/log/xdebug.log\"" >> /usr/local/etc/php/conf.d/xdebug.ini
65+
&& echo "xdebug.remote_port=9004" >> /usr/local/etc/php/conf.d/xdebug.ini
6766

6867
RUN echo ";;;;;;;;;;;;;;;;;;; ; Module Settings ; ;;;;;;;;;;;;;;;;;;; \n\
6968
[Date] \n\

0 commit comments

Comments
 (0)