Update default php xdebug configuration

This commit is contained in:
cytopia 2023-01-30 11:16:41 +01:00
parent 98be814d3c
commit 678d068c5e
No known key found for this signature in database
GPG Key ID: 6D56EDB8695128A2
14 changed files with 155 additions and 49 deletions

View File

@ -20,7 +20,8 @@
; ;
[PHP] [PHP]
; Xdebug ; Xdebug (version 2.2.7)
;
; Use these settings to enable Xdebug for PHP ; Use these settings to enable Xdebug for PHP
; Make sure to read up on Xdebug some settings might significantly slow down requests. ; Make sure to read up on Xdebug some settings might significantly slow down requests.
; The following is just an example configuration and should be adjusted ; The following is just an example configuration and should be adjusted

View File

@ -20,7 +20,8 @@
; ;
[PHP] [PHP]
; Xdebug ; Xdebug (version 2.2.7)
;
; Use these settings to enable Xdebug for PHP ; Use these settings to enable Xdebug for PHP
; Make sure to read up on Xdebug some settings might significantly slow down requests. ; Make sure to read up on Xdebug some settings might significantly slow down requests.
; The following is just an example configuration and should be adjusted ; The following is just an example configuration and should be adjusted

View File

@ -20,7 +20,8 @@
; ;
[PHP] [PHP]
; Xdebug ; Xdebug (version 2.4.1)
;
; Use these settings to enable Xdebug for PHP ; Use these settings to enable Xdebug for PHP
; Make sure to read up on Xdebug some settings might significantly slow down requests. ; Make sure to read up on Xdebug some settings might significantly slow down requests.
; The following is just an example configuration and should be adjusted ; The following is just an example configuration and should be adjusted

View File

@ -20,7 +20,8 @@
; ;
[PHP] [PHP]
; Xdebug ; Xdebug (version 2.4.1)
;
; Use these settings to enable Xdebug for PHP ; Use these settings to enable Xdebug for PHP
; Make sure to read up on Xdebug some settings might significantly slow down requests. ; Make sure to read up on Xdebug some settings might significantly slow down requests.
; The following is just an example configuration and should be adjusted ; The following is just an example configuration and should be adjusted

View File

@ -20,7 +20,8 @@
; ;
[PHP] [PHP]
; Xdebug ; Xdebug (version 2.4.1)
;
; Use these settings to enable Xdebug for PHP ; Use these settings to enable Xdebug for PHP
; Make sure to read up on Xdebug some settings might significantly slow down requests. ; Make sure to read up on Xdebug some settings might significantly slow down requests.
; The following is just an example configuration and should be adjusted ; The following is just an example configuration and should be adjusted

View File

@ -20,7 +20,8 @@
; ;
[PHP] [PHP]
; Xdebug ; Xdebug (version 2.9.0)
;
; Use these settings to enable Xdebug for PHP ; Use these settings to enable Xdebug for PHP
; Make sure to read up on Xdebug some settings might significantly slow down requests. ; Make sure to read up on Xdebug some settings might significantly slow down requests.
; The following is just an example configuration and should be adjusted ; The following is just an example configuration and should be adjusted

View File

@ -20,7 +20,8 @@
; ;
[PHP] [PHP]
; Xdebug ; Xdebug (version 2.9.8)
;
; Use these settings to enable Xdebug for PHP ; Use these settings to enable Xdebug for PHP
; Make sure to read up on Xdebug some settings might significantly slow down requests. ; Make sure to read up on Xdebug some settings might significantly slow down requests.
; The following is just an example configuration and should be adjusted ; The following is just an example configuration and should be adjusted

View File

@ -20,16 +20,32 @@
; ;
[PHP] [PHP]
; Xdebug ; Xdebug (version 3.1.6)
; https://3.xdebug.org/docs/upgrade_guide ; Upgrade Guide: https://3.xdebug.org/docs/upgrade_guide
; Settings Guide: https://xdebug.org/docs/all_settings
;
; Use these settings to enable Xdebug for PHP ; Use these settings to enable Xdebug for PHP
; Make sure to read up on Xdebug some settings might significantly slow down requests. ; Make sure to read up on Xdebug some settings might significantly slow down requests.
; The following is just an example configuration and should be adjusted ; The following is just an example configuration and should be adjusted.
; Defaults
xdebug.mode = debug xdebug.mode = debug
xdebug.start_with_request = yes
xdebug.remote_handler = dbgp xdebug.remote_handler = dbgp
xdebug.remote_port = 9000 xdebug.start_with_request = yes
;xdebug.start_with_request = trigger
;xdebug.trigger_value = randomkey
; How to connect
xdebug.client_port = 9000
xdebug.client_host = host.docker.internal
xdebug.discover_client_host = 0
; Logging
xdebug.log = /var/log/php/xdebug.log
xdebug.log_level = 7
; IDE Configuration
xdebug.idekey = PHPSTORM xdebug.idekey = PHPSTORM
xdebug.remote_log = /var/log/php/xdebug.log ;xdebug.idekey = VSCODE
; vim: set ft=dosini: ; vim: set ft=dosini:

View File

@ -20,16 +20,32 @@
; ;
[PHP] [PHP]
; Xdebug ; Xdebug (version 3.1.6)
; https://3.xdebug.org/docs/upgrade_guide ; Upgrade Guide: https://3.xdebug.org/docs/upgrade_guide
; Settings Guide: https://xdebug.org/docs/all_settings
;
; Use these settings to enable Xdebug for PHP ; Use these settings to enable Xdebug for PHP
; Make sure to read up on Xdebug some settings might significantly slow down requests. ; Make sure to read up on Xdebug some settings might significantly slow down requests.
; The following is just an example configuration and should be adjusted ; The following is just an example configuration and should be adjusted.
; Defaults
xdebug.mode = debug xdebug.mode = debug
xdebug.start_with_request = yes
xdebug.remote_handler = dbgp xdebug.remote_handler = dbgp
xdebug.remote_port = 9000 xdebug.start_with_request = yes
;xdebug.start_with_request = trigger
;xdebug.trigger_value = randomkey
; How to connect
xdebug.client_port = 9000
xdebug.client_host = host.docker.internal
xdebug.discover_client_host = 0
; Logging
xdebug.log = /var/log/php/xdebug.log
xdebug.log_level = 7
; IDE Configuration
xdebug.idekey = PHPSTORM xdebug.idekey = PHPSTORM
xdebug.remote_log = /var/log/php/xdebug.log ;xdebug.idekey = VSCODE
; vim: set ft=dosini: ; vim: set ft=dosini:

View File

@ -20,16 +20,32 @@
; ;
[PHP] [PHP]
; Xdebug ; Xdebug (version 3.1.6)
; https://3.xdebug.org/docs/upgrade_guide ; Upgrade Guide: https://3.xdebug.org/docs/upgrade_guide
; Settings Guide: https://xdebug.org/docs/all_settings
;
; Use these settings to enable Xdebug for PHP ; Use these settings to enable Xdebug for PHP
; Make sure to read up on Xdebug some settings might significantly slow down requests. ; Make sure to read up on Xdebug some settings might significantly slow down requests.
; The following is just an example configuration and should be adjusted ; The following is just an example configuration and should be adjusted.
; Defaults
xdebug.mode = debug xdebug.mode = debug
xdebug.start_with_request = yes
xdebug.remote_handler = dbgp xdebug.remote_handler = dbgp
xdebug.remote_port = 9000 xdebug.start_with_request = yes
;xdebug.start_with_request = trigger
;xdebug.trigger_value = randomkey
; How to connect
xdebug.client_port = 9000
xdebug.client_host = host.docker.internal
xdebug.discover_client_host = 0
; Logging
xdebug.log = /var/log/php/xdebug.log
xdebug.log_level = 7
; IDE Configuration
xdebug.idekey = PHPSTORM xdebug.idekey = PHPSTORM
xdebug.remote_log = /var/log/php/xdebug.log ;xdebug.idekey = VSCODE
; vim: set ft=dosini: ; vim: set ft=dosini:

View File

@ -20,16 +20,32 @@
; ;
[PHP] [PHP]
; Xdebug ; Xdebug (version 3.x.x - latest)
; https://3.xdebug.org/docs/upgrade_guide ; Upgrade Guide: https://3.xdebug.org/docs/upgrade_guide
; Settings Guide: https://xdebug.org/docs/all_settings
;
; Use these settings to enable Xdebug for PHP ; Use these settings to enable Xdebug for PHP
; Make sure to read up on Xdebug some settings might significantly slow down requests. ; Make sure to read up on Xdebug some settings might significantly slow down requests.
; The following is just an example configuration and should be adjusted ; The following is just an example configuration and should be adjusted.
; Defaults
xdebug.mode = debug xdebug.mode = debug
xdebug.start_with_request = yes
xdebug.remote_handler = dbgp xdebug.remote_handler = dbgp
xdebug.remote_port = 9000 xdebug.start_with_request = yes
;xdebug.start_with_request = trigger
;xdebug.trigger_value = randomkey
; How to connect
xdebug.client_port = 9000
xdebug.client_host = host.docker.internal
xdebug.discover_client_host = 0
; Logging
xdebug.log = /var/log/php/xdebug.log
xdebug.log_level = 7
; IDE Configuration
xdebug.idekey = PHPSTORM xdebug.idekey = PHPSTORM
xdebug.remote_log = /var/log/php/xdebug.log ;xdebug.idekey = VSCODE
; vim: set ft=dosini: ; vim: set ft=dosini:

View File

@ -20,16 +20,32 @@
; ;
[PHP] [PHP]
; Xdebug ; Xdebug (version 3.x.x - latest)
; https://3.xdebug.org/docs/upgrade_guide ; Upgrade Guide: https://3.xdebug.org/docs/upgrade_guide
; Settings Guide: https://xdebug.org/docs/all_settings
;
; Use these settings to enable Xdebug for PHP ; Use these settings to enable Xdebug for PHP
; Make sure to read up on Xdebug some settings might significantly slow down requests. ; Make sure to read up on Xdebug some settings might significantly slow down requests.
; The following is just an example configuration and should be adjusted ; The following is just an example configuration and should be adjusted.
; Defaults
xdebug.mode = debug xdebug.mode = debug
xdebug.start_with_request = yes
xdebug.remote_handler = dbgp xdebug.remote_handler = dbgp
xdebug.remote_port = 9000 xdebug.start_with_request = yes
;xdebug.start_with_request = trigger
;xdebug.trigger_value = randomkey
; How to connect
xdebug.client_port = 9000
xdebug.client_host = host.docker.internal
xdebug.discover_client_host = 0
; Logging
xdebug.log = /var/log/php/xdebug.log
xdebug.log_level = 7
; IDE Configuration
xdebug.idekey = PHPSTORM xdebug.idekey = PHPSTORM
xdebug.remote_log = /var/log/php/xdebug.log ;xdebug.idekey = VSCODE
; vim: set ft=dosini: ; vim: set ft=dosini:

View File

@ -20,16 +20,32 @@
; ;
[PHP] [PHP]
; Xdebug ; Xdebug (version 3.x.x - latest)
; https://3.xdebug.org/docs/upgrade_guide ; Upgrade Guide: https://3.xdebug.org/docs/upgrade_guide
; Settings Guide: https://xdebug.org/docs/all_settings
;
; Use these settings to enable Xdebug for PHP ; Use these settings to enable Xdebug for PHP
; Make sure to read up on Xdebug some settings might significantly slow down requests. ; Make sure to read up on Xdebug some settings might significantly slow down requests.
; The following is just an example configuration and should be adjusted ; The following is just an example configuration and should be adjusted.
; Defaults
xdebug.mode = debug xdebug.mode = debug
xdebug.start_with_request = yes
xdebug.remote_handler = dbgp xdebug.remote_handler = dbgp
xdebug.remote_port = 9000 xdebug.start_with_request = yes
;xdebug.start_with_request = trigger
;xdebug.trigger_value = randomkey
; How to connect
xdebug.client_port = 9000
xdebug.client_host = host.docker.internal
xdebug.discover_client_host = 0
; Logging
xdebug.log = /var/log/php/xdebug.log
xdebug.log_level = 7
; IDE Configuration
xdebug.idekey = PHPSTORM xdebug.idekey = PHPSTORM
xdebug.remote_log = /var/log/php/xdebug.log ;xdebug.idekey = VSCODE
; vim: set ft=dosini: ; vim: set ft=dosini:

View File

@ -113,6 +113,9 @@ services:
- ./.env - ./.env
environment: environment:
# Where PHP is looking for ini files
- PHP_INI_SCAN_DIR=/usr/local/etc/php/conf.d:/etc/php-custom.d
## ##
## Supervisord Management (to connect to HTTPD supvervisord) ## Supervisord Management (to connect to HTTPD supvervisord)
## ##