Skip to content
Snippets Groups Projects
Commit dd3db333 authored by a.croix's avatar a.croix
Browse files

Add Xdebug to debug inside the container

parent fc58a39e
No related branches found
No related tags found
1 merge request!1Include Wowa Training
Pipeline #5868 failed
......@@ -6,6 +6,11 @@ COPY . /var/www/html
WORKDIR /var/www/html
# RUN composer install --no-dev --optimize-autoloader
RUN composer install --optimize-autoloader --ignore-platform-reqs
RUN pecl install xdebug-2.5.5 && docker-php-ext-enable xdebug
RUN echo 'zend_extension="/usr/local/lib/php/extensions/no-debug-non-zts-20151012/xdebug.so"' >> /usr/local/etc/php/php.ini
RUN echo 'xdebug.remote_port=9000' >> /usr/local/etc/php/php.ini
RUN echo 'xdebug.remote_enable=1' >> /usr/local/etc/php/php.ini
RUN echo 'xdebug.remote_connect_back=1' >> /usr/local/etc/php/php.ini
# RUN pecl install redis && docker-php-ext-enable redis
#### Step 2 : node
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment