File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -14,6 +14,7 @@ ENV XDEBUG_CONNECT_BACK=true
14
14
ENV XDEBUG_ENABLED=false
15
15
ENV XDEBUG_IDEKEY="docker"
16
16
ENV XDEBUG_VERSION="-2.7.0beta1"
17
+ ENV XDEBUG_REMOTE_PORT=9000
17
18
18
19
RUN apt-get update && apt-get install -y wget vim supervisor zip libfreetype6-dev libjpeg62-turbo-dev \
19
20
libmcrypt-dev libpng-dev libssl-dev libaio1 git libcurl4-openssl-dev libxslt-dev \
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ if [[ $XDEBUG_ENABLED == true ]]; then
5
5
echo " xdebug.var_display_max_depth=5" | sudo tee -a /usr/local/etc/php/conf.d/xdebug.ini
6
6
echo " xdebug.idekey=${XDEBUG_IDEKEY} " | sudo tee -a /usr/local/etc/php/conf.d/xdebug.ini
7
7
echo " xdebug.remote_enable=1" | sudo tee -a /usr/local/etc/php/conf.d/xdebug.ini
8
- echo " xdebug.remote_port=9000 " | sudo tee -a /usr/local/etc/php/conf.d/xdebug.ini
8
+ echo " xdebug.remote_port=${XDEBUG_REMOTE_PORT} " | sudo tee -a /usr/local/etc/php/conf.d/xdebug.ini
9
9
10
10
[[ ${XDEBUG_AUTOSTART} == true ]] && {
11
11
echo " xdebug.remote_autostart=on" | sudo tee -a /usr/local/etc/php/conf.d/xdebug.ini
You can’t perform that action at this time.
0 commit comments