feat(xdebug): added support for xdebug in container
This commit is contained in:
parent
92631dc015
commit
d48200af4e
|
@ -366,7 +366,8 @@ ENV sintonia_vite_port=${sintonia_vite_port}
|
|||
USER root
|
||||
RUN pecl install xdebug && \
|
||||
docker-php-ext-enable xdebug && \
|
||||
echo 'xdebug.mode = debug\nxdebug.discover_client_host = 1\nxdebug.start_with_request = yes' >> /usr/local/etc/php/conf.d/docker-php-ext-xdebug.ini
|
||||
echo 'xdebug.mode = develop,debug\nxdebug.client_host=host.docker.internal\nxdebug.start_with_request=yes' >> /usr/local/etc/php/conf.d/docker-php-ext-xdebug.ini && \
|
||||
echo 'error_reporting=E_ALL' > /usr/local/etc/php/conf.d/error_reporting.ini
|
||||
USER $sintonia_user
|
||||
|
||||
WORKDIR /var/www/sintonia_webapp
|
||||
|
|
Loading…
Reference in New Issue