Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 804782f

Browse files
Merge pull request #83 from ihor-sviziev/patch-8
Implement xdebug 3 support
2 parents 07d17e2 + d45a2dc commit 804782f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

‎console/commands/debug-on.sh‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ if [[ "${MACHINE}" == 'linux' && "${XDEBUG_HOST:-}" == "" ]]; then
88
fi
99
if [[ "${XDEBUG_HOST:-}" != "" ]]; then
1010
${COMMANDS_DIR}/exec.sh sed -i "s/xdebug\.remote_host\=.*/xdebug\.remote_host\=${XDEBUG_HOST}/g" /usr/local/etc/php/conf.d/xdebug.ini
11+
${COMMANDS_DIR}/exec.sh sed -i "s/xdebug\.client_host\=.*/xdebug\.client_host\=${XDEBUG_HOST}/g" /usr/local/etc/php/conf.d/xdebug.ini
1112
fi
1213

1314
${COMMANDS_DIR}/exec.sh sed -i -e 's/^\;zend_extension/zend_extension/g' /usr/local/etc/php/conf.d/docker-php-ext-xdebug.ini
@@ -23,5 +24,5 @@ fi
2324

2425
printf "${YELLOW}xdebug configuration: ${COLOR_RESET}\n"
2526
printf "${YELLOW}--------------------------------${COLOR_RESET}\n"
26-
${COMMANDS_DIR}/exec.sh php -i | grep -e "xdebug.idekey" -e "xdebug.remote_host" -e "xdebug.remote_port" | cut -d= -f1-2
27+
${COMMANDS_DIR}/exec.sh php -i | grep -e "xdebug.idekey" -e "xdebug.remote_host" -e "xdebug.remote_port" -e "xdebug.client_host" -e "xdebug.client_port"| cut -d= -f1-2
2728
printf "${YELLOW}--------------------------------${COLOR_RESET}\n"

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /