Compare commits

...

2 Commits

@ -1,17 +1,17 @@
[xdebug]
zend_extension = xdebug.so
xdebug.remote_enable = 1
xdebug.remote_host = 172.17.0.1
xdebug.remote_connect_back = 1 # Not safe for production servers
xdebug.remote_port = 9000
xdebug.mode = debug
xdebug.client_host = 172.17.0.1
xdebug.discover_client_host = yes
xdebug.client_port = 9000
xdebug.idekey = VSCODE
xdebug.remote_handler = dbgp
xdebug.remote_mode = req
xdebug.remote_autostart = true
xdebug.remote_log = "/var/log/xdebug/xdebug.log"
xdebug.start_with_request = yes
xdebug.force_display_errors = On
xdebug.log = "/var/log/xdebug/xdebug.log"
# Activation du Profiler
xdebug.profiler_enable = 1
xdebug.profiler_output_dir = "/var/log/xdebug/"
xdebug.mode = profile
xdebug.output_dir = "/var/log/xdebug/"
xdebug.profiler_output_name = "cachegrind.%s.out"

@ -16,7 +16,7 @@ mailcatcher:
- 1080:1080
php:
build: phpfpm
build: phpfpm-8.0
volumes:
- ~/public:/var/www/html
- ./data/log/xdebug:/var/log/xdebug

@ -1,4 +1,4 @@
FROM php:7.4-fpm-alpine
FROM php:8.0-fpm-alpine
RUN apk add --update --no-cache \
build-base \
@ -9,7 +9,8 @@ RUN apk add --update --no-cache \
freetype-dev \
libzip-dev \
oniguruma-dev \
ssmtp
ssmtp \
fish
ENV LIBRARY_PATH=/lib:/usr/lib
@ -24,4 +25,4 @@ RUN docker-php-ext-configure gd --with-freetype=/usr/include/ --with-jpeg=/usr/i
pdo_mysql \
mbstring \
&& pecl install xdebug \
&& docker-php-ext-enable xdebug
&& docker-php-ext-enable xdebug
Loading…
Cancel
Save