File tree Expand file tree Collapse file tree 3 files changed +3
-1
lines changed
Expand file tree Collapse file tree 3 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ PHP_OPCACHE_VALIDATE_TIMESTAMPS=1
2121
2222# xDebug
2323# (off|develop|coverage|debug|gcstats|profile|trace) For more information: https://xdebug.org/docs/all_settings#mode
24- XDEBUG_MODE =debug
24+ PHP_XDEBUG_MODE =debug
2525PHP_XDEBUG_REMOTE_HOST=${LOCAL_HOST_IP}
2626PHP_XDEBUG_REMOTE_PORT=9003
2727PHP_XDEBUG_IDEKEY=PHPSTORM
Original file line number Diff line number Diff line change 4848sed -i " s|{{PHP_OPCACHE_MEMORY_CONSUMPTION}}|${PHP_OPCACHE_MEMORY_CONSUMPTION} |g" $PHP_INI_DIR /conf.d/zz-opcache.ini
4949sed -i " s|{{PHP_OPCACHE_MAX_ACCELERATED_FILES}}|${PHP_OPCACHE_MAX_ACCELERATED_FILES} |g" $PHP_INI_DIR /conf.d/zz-opcache.ini
5050
51+ sed -i " s|{{PHP_XDEBUG_MODE}}|${PHP_XDEBUG_MODE} |g" $PHP_INI_DIR /conf.d/zz-xdebug.ini
5152sed -i " s|{{PHP_XDEBUG_REMOTE_HOST}}|${PHP_XDEBUG_REMOTE_HOST} |g" $PHP_INI_DIR /conf.d/zz-xdebug.ini
5253sed -i " s|{{PHP_XDEBUG_REMOTE_PORT}}|${PHP_XDEBUG_REMOTE_PORT} |g" $PHP_INI_DIR /conf.d/zz-xdebug.ini
5354sed -i " s|{{PHP_XDEBUG_IDEKEY}}|${PHP_XDEBUG_IDEKEY} |g" $PHP_INI_DIR /conf.d/zz-xdebug.ini
Original file line number Diff line number Diff line change 22
33; Xdebug settings will only kick in if the Xdebug module is loaded
44
5+ xdebug.mode ={{PHP_XDEBUG_MODE}}
56xdebug.client_host ={{PHP_XDEBUG_REMOTE_HOST}}
67xdebug.client_port ={{PHP_XDEBUG_REMOTE_PORT}}
78xdebug.idekey ={{PHP_XDEBUG_IDEKEY}}
You can’t perform that action at this time.
0 commit comments