Skip to content

Commit

Permalink
Upgrade to XDebug 3.0.4
Browse files Browse the repository at this point in the history
  • Loading branch information
claussni committed Apr 13, 2021
1 parent 174b600 commit f24ee9a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 3 additions & 1 deletion Build/Dockerfile-TYPO3
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,10 @@ RUN apt-get update && \
echo 'post_max_size = 32M' >> /usr/local/etc/php/conf.d/typo3.ini && \
echo 'xdebug.max_nesting_level = 400' >> /usr/local/etc/php/conf.d/typo3.ini && \
# Install XDebug
pecl install xdebug && \
pecl install xdebug-3.0.4 && \
echo "zend_extension=$(find /usr/local/lib/php/extensions/ -name xdebug.so)" > /usr/local/etc/php/conf.d/xdebug.ini && \
echo "xdebug.mode=debug" >> /usr/local/etc/php/conf.d/xdebug.ini && \
echo "xdebug.start_with_request=trigger" >> /usr/local/etc/php/conf.d/xdebug.ini && \
# Configure Apache as needed
a2enmod rewrite && \
# Remove build libraries
Expand Down
3 changes: 2 additions & 1 deletion Build/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@ services:
extra_hosts:
- "xdebug.remote.host:${ENV_HOST_IP}"
environment:
XDEBUG_CONFIG: remote_host=xdebug.remote.host remote_port=9000 remote_enable=1
XDEBUG_CONFIG: client_host=xdebug.remote.host
XDEBUG_TRIGGER: 1
volumes:
- ..:/app
- fileadmin:/var/www/html/fileadmin
Expand Down

0 comments on commit f24ee9a

Please sign in to comment.