Olivier Massot il y a 5 ans
Parent
commit
0fc23583c4
2 fichiers modifiés avec 13 ajouts et 3 suppressions
  1. 1 0
      clonedb/core/.gitignore
  2. 12 3
      docker/php/conf/xdebug.ini

+ 1 - 0
clonedb/core/.gitignore

@@ -0,0 +1 @@
+/__pycache__/

+ 12 - 3
docker/php/conf/xdebug.ini

@@ -1,7 +1,16 @@
 [xdebug]
+zend_extension=xdebug.so
+xdebug.default_enable = 1
 xdebug.remote_enable = 1
+xdebug.idekey=PHPSTORM
 xdebug.remote_autostart = 1
-xdebug.remote_connect_back = 0
-xdebug.remote_host = host.docker.internal
+xdebug.remote_connect_back = 1
+xdebug.remote_port = 9000
+xdebug.max_nesting_level=400
+
+# Uncomment this line if docker is running on Mac or Windows
+;xdebug.remote_host = host.docker.internal
+
+# OR uncomment this one if docker is on Unix, then replace the hostname
+#    by the your current machine's name (type 'hostname' in a terminal)
 xdebug.remote_host = dev
-xdebug.idekey=PHPSTORM