Pin XDebug to version 2.9.8

* Why: XDebug >= 3 has many breaking changes which don't
  make sense to deal with in farmOS 7.x-1.x.
This commit is contained in:
Symbioquine 2020-12-20 08:34:06 -08:00 committed by Michael Stenta
parent 42a8a730ad
commit 5ddf30f132
1 changed files with 1 additions and 1 deletions

View File

@ -8,7 +8,7 @@ ARG FARMOS_REPO=https://git.drupal.org/project/farm.git
ARG FARMOS_BRANCH=7.x-1.x
# Install Xdebug.
RUN yes | pecl install xdebug \
RUN yes | pecl install xdebug-2.9.8 \
&& echo "zend_extension=$(find /usr/local/lib/php/extensions/ -name xdebug.so)" > /usr/local/etc/php/conf.d/xdebug.ini \
&& echo "xdebug.remote_enable=on" >> /usr/local/etc/php/conf.d/xdebug.ini \
&& echo "xdebug.remote_autostart=off" >> /usr/local/etc/php/conf.d/xdebug.ini