1- # already loaded in /usr/local/etc/php/conf.d/docker-php-ext-xdebug.ini
2- # zend_extension=xdebug
1+ ; already loaded in /usr/local/etc/php/conf.d/docker-php-ext-xdebug.ini
2+ ; zend_extension=xdebug
33
44; FIXME : should be elsewhere, like docker-php.ini
55error_log = /var/log/php-errors.log
66catch_workers_output = yes
77
88[xdebug]
9- # 'debug' means we're enabling step-by-step debugging
9+ ; 'debug' means we're enabling step-by-step debugging
1010xdebug.mode =debug
1111
1212xdebug.client_port =9003
1313
14- # xdebug.client_host is the IP address of the system where VS Code runs
15- # that IP address is DIFFERENT depending on WHERE VS Code is launched in ( Windows/Mac, WSL(2) , Container/devcontainer/codespaces)
16- #
17- # the PHP container sends debugging data OUT to xdebug.client_host:xdebug.client_port
14+ ; xdebug.client_host is the IP address of the system where VS Code runs
15+ ; that IP address is DIFFERENT depending on WHERE VS Code is launched in Windows/Mac, WSL, Container/devcontainer/codespaces
16+ ;
17+ ; the PHP container sends debugging data OUT to xdebug.client_host:xdebug.client_port
1818
1919
20- # localhost is used when running btoh VS Code and PHP from within **the same PHP container**
21- # after opening the project in the Container
20+ ; localhost is used when running btoh VS Code and PHP from within **the same PHP container**
21+ ; after opening the project in the Container
2222xdebug.client_host =localhost
2323
24- # if using Docker Desktop 'host.docker.internal' is supposed to hold the IP Address of
25- # the Docker host, but that's not always true. DOUBLE-CHECK
24+ ; if using Docker Desktop 'host.docker.internal' is supposed to hold the IP Address of
25+ ; the Docker host, but that's not always true. DOUBLE-CHECK
2626
2727; xdebug.client_host=host.docker.internal
2828
29- # 'yes': This will always initiate a debugging, profiling, or tracing session as soon as a request is received, without needing any specific trigger
30- # 'no' : This will never initiate a session regardless of the presence of any trigger
31- # 'trigger' : This will initiate a session only if a specific trigger ( like a GET/POST variable or a cookie) is present in the request.
29+ ; 'yes': This will always initiate a debugging, profiling, or tracing session as soon as a request is received, without needing any specific trigger
30+ ; 'no' : This will never initiate a session regardless of the presence of any trigger
31+ ; 'trigger' : This will initiate a session only if a specific trigger, like a GET/POST variable or a cookie, is present in the request.
3232xdebug.start_with_request =yes
3333
34- # OPTIONAL: idekey
35- # in the browser add a URL param ( if not using a browser utility)
36- # url.to.debug?XDEBUG_SESSION_START=PHPSTORM
37- # sets up a coockie called "XDEBUG_SESSION_START" with the value "PHPSTORM", which is the "trigger"
38- # xdebug.idekey=PHPSTORM
34+ ; OPTIONAL: idekey
35+ ; in the browser add a URL param , if not using a browser utility
36+ ; url.to.debug?XDEBUG_SESSION_START=PHPSTORM
37+ ; sets up a coockie called "XDEBUG_SESSION_START" with the value "PHPSTORM", which is the "trigger"
38+ ; xdebug.idekey=PHPSTORM
3939
40- # defines a log file. This is created ( touch) and initialized (permissions) in the PHP container Dockerfile
40+ ; defines a log file. This is created, with touch, and initialized (permissions) in the PHP container Dockerfile
4141xdebug.log =/tmp/xdebug.log
0 commit comments