Skip to content

Commit ab4e06f

Browse files
committed
Default to host.docker.internal
1 parent 719d1f7 commit ab4e06f

2 files changed

Lines changed: 4 additions & 6 deletions

File tree

php-fpm/xdebug.ini

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
; NOTE: The actual debug.so extention is NOT SET HERE but rather (/usr/local/etc/php/conf.d/docker-php-ext-xdebug.ini)
22

3-
; xdebug.remote_host=dockerhost
4-
xdebug.remote_connect_back=1
3+
xdebug.remote_host="host.docker.internal"
4+
xdebug.remote_connect_back=0
55
xdebug.remote_port=9000
66
xdebug.idekey=PHPSTORM
77

@@ -17,4 +17,3 @@ xdebug.remote_mode=req
1717
xdebug.var_display_max_children=-1
1818
xdebug.var_display_max_data=-1
1919
xdebug.var_display_max_depth=-1
20-

workspace/xdebug.ini

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
; NOTE: The actual debug.so extention is NOT SET HERE but rather (/usr/local/etc/php/conf.d/docker-php-ext-xdebug.ini)
22

3-
; xdebug.remote_host=dockerhost
4-
xdebug.remote_connect_back=1
3+
xdebug.remote_host="host.docker.internal"
4+
xdebug.remote_connect_back=0
55
xdebug.remote_port=9000
66
xdebug.idekey=PHPSTORM
77

@@ -17,4 +17,3 @@ xdebug.remote_mode=req
1717
xdebug.var_display_max_children=-1
1818
xdebug.var_display_max_data=-1
1919
xdebug.var_display_max_depth=-1
20-

0 commit comments

Comments
 (0)