Skip to content
This repository was archived by the owner on Jan 26, 2022. It is now read-only.

Commit 0f473d8

Browse files
committed
Add xdebug 3 support
Update settings as described in upgrade guide: https://xdebug.org/docs/upgrade_guide
1 parent d92e9f1 commit 0f473d8

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

Diff for: 7.2/scripts/install-development.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ curl -LsS https://getcomposer.org/installer | \
2222
[[ -e Tideways.php ]] || false && true
2323
)
2424

25-
printf "xdebug.remote_enable = 1\nxdebug.remote_connect_back = 1\nxdebug.max_nesting_level=400\n" \
25+
printf "xdebug.mode = develop,debug\nxdebug.discover_client_host = 1\nxdebug.max_nesting_level=400\n" \
2626
>> /etc/php/${DW_PHP_VERSION}/mods-available/xdebug.ini
2727

2828
if [[ -e /etc/php/${DW_PHP_VERSION}/mods-available/tideways.ini ]]; then

Diff for: 7.3/scripts/install-development.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ curl -LsS https://getcomposer.org/installer | \
2222
[[ -e Tideways.php ]] || false && true
2323
)
2424

25-
printf "xdebug.remote_enable = 1\nxdebug.remote_connect_back = 1\nxdebug.max_nesting_level=400\n" \
25+
printf "xdebug.mode = develop,debug\nxdebug.discover_client_host = 1\nxdebug.max_nesting_level=400\n" \
2626
>> /etc/php/${DW_PHP_VERSION}/mods-available/xdebug.ini
2727

2828
if [[ -e /etc/php/${DW_PHP_VERSION}/mods-available/tideways.ini ]]; then

Diff for: 7.4/scripts/install-development.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ curl -LsS https://getcomposer.org/installer | \
2222
[[ -e Tideways.php ]] || false && true
2323
)
2424

25-
printf "xdebug.remote_enable = 1\nxdebug.remote_connect_back = 1\nxdebug.max_nesting_level=400\n" \
25+
printf "xdebug.mode = develop,debug\nxdebug.discover_client_host = 1\nxdebug.max_nesting_level=400\n" \
2626
>> /etc/php/${DW_PHP_VERSION}/mods-available/xdebug.ini
2727

2828
if [[ -e /etc/php/${DW_PHP_VERSION}/mods-available/tideways.ini ]]; then

Diff for: README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ connect back.
108108
example:
109109

110110
~~~ sh
111-
$ docker run -e DEVELOPMENT=1 -e "XDEBUG_CONFIG=remote_host=192.168.65.1" dockerwest/php:<version>
111+
$ docker run -e DEVELOPMENT=1 -e "XDEBUG_CONFIG=client_host=192.168.65.1" dockerwest/php:<version>
112112
~~~
113113

114114
### PHP_EXTRA_MODULES

0 commit comments

Comments
 (0)