@@ -8,6 +8,7 @@ if [[ "${MACHINE}" == 'linux' && "${XDEBUG_HOST:-}" == "" ]]; then
88fi 
99if  [[ " ${XDEBUG_HOST:- } " !=  " " ;  then 
1010 ${COMMANDS_DIR} /exec.sh sed -i " s/xdebug\.remote_host\=.*/xdebug\.remote_host\=${XDEBUG_HOST} /g" 
11+  ${COMMANDS_DIR} /exec.sh sed -i " s/xdebug\.client_host\=.*/xdebug\.client_host\=${XDEBUG_HOST} /g" 
1112fi 
1213
1314${COMMANDS_DIR} /exec.sh sed -i -e ' s/^\;zend_extension/zend_extension/g' 
2324
2425printf  " ${YELLOW} xdebug configuration: ${COLOR_RESET} \n" 
2526printf  " ${YELLOW} --------------------------------${COLOR_RESET} \n" 
26- ${COMMANDS_DIR} /exec.sh php -i |  grep -e " xdebug.idekey" " xdebug.remote_host" " xdebug.remote_port" |  cut -d= -f1-2
27+ ${COMMANDS_DIR} /exec.sh php -i |  grep -e " xdebug.idekey" " xdebug.remote_host" " xdebug.remote_port" -e  " xdebug.client_host "  -e  " xdebug.client_port " |  cut -d= -f1-2
2728printf  " ${YELLOW} --------------------------------${COLOR_RESET} \n" 
0 commit comments