Эх сурвалжийг харах

Default to host.docker.internal

Jordy Schreuders 5 жил өмнө
parent
commit
ab4e06f270

+ 2 - 3
php-fpm/xdebug.ini

@@ -1,7 +1,7 @@
 ; NOTE: The actual debug.so extention is NOT SET HERE but rather (/usr/local/etc/php/conf.d/docker-php-ext-xdebug.ini)
 
-; xdebug.remote_host=dockerhost
-xdebug.remote_connect_back=1
+xdebug.remote_host="host.docker.internal"
+xdebug.remote_connect_back=0
 xdebug.remote_port=9000
 xdebug.idekey=PHPSTORM
 
@@ -17,4 +17,3 @@ xdebug.remote_mode=req
 xdebug.var_display_max_children=-1
 xdebug.var_display_max_data=-1
 xdebug.var_display_max_depth=-1
-

+ 2 - 3
workspace/xdebug.ini

@@ -1,7 +1,7 @@
 ; NOTE: The actual debug.so extention is NOT SET HERE but rather (/usr/local/etc/php/conf.d/docker-php-ext-xdebug.ini)
 
-; xdebug.remote_host=dockerhost
-xdebug.remote_connect_back=1
+xdebug.remote_host="host.docker.internal"
+xdebug.remote_connect_back=0
 xdebug.remote_port=9000
 xdebug.idekey=PHPSTORM
 
@@ -17,4 +17,3 @@ xdebug.remote_mode=req
 xdebug.var_display_max_children=-1
 xdebug.var_display_max_data=-1
 xdebug.var_display_max_depth=-1
-