fixed the xdebug.ini file
This commit is contained in:
parent
836e6586b8
commit
f1c8eb0e3b
2
.env
2
.env
@ -13,4 +13,4 @@ DB_LEGACY_NAME=materio_d7
|
|||||||
DB_USERNAME=materio
|
DB_USERNAME=materio
|
||||||
DB_PASSWORD=materio
|
DB_PASSWORD=materio
|
||||||
|
|
||||||
XDEBUG_CONF=./ressources/xdebug.conf
|
XDEBUG_INI=./ressources/xdebug.ini
|
||||||
|
2
.gitignore
vendored
2
.gitignore
vendored
@ -5,4 +5,4 @@ log/*
|
|||||||
*.sql
|
*.sql
|
||||||
bin/syncfiles.sh
|
bin/syncfiles.sh
|
||||||
solr_cores/*
|
solr_cores/*
|
||||||
ressources/xdebug.conf
|
ressources/xdebug.ini
|
||||||
|
@ -86,7 +86,7 @@ services:
|
|||||||
- "${PROJECT_ROOT}:/var/www/html/d8.materio.com/public_html"
|
- "${PROJECT_ROOT}:/var/www/html/d8.materio.com/public_html"
|
||||||
- "${LEGACY_ROOT}:/var/www/html/d7.materio.com/public_html"
|
- "${LEGACY_ROOT}:/var/www/html/d7.materio.com/public_html"
|
||||||
- "${LOG_ROOT}/php:/var/log:rw"
|
- "${LOG_ROOT}/php:/var/log:rw"
|
||||||
- "${XDEBUG_CONF}:/usr/local/etc/php/conf.d/xdebug.ini"
|
- "${XDEBUG_INI}:/usr/local/etc/php/conf.d/xdebug.ini"
|
||||||
working_dir: "/var/www/html/d8.materio.com/public_html"
|
working_dir: "/var/www/html/d8.materio.com/public_html"
|
||||||
networks:
|
networks:
|
||||||
- database
|
- database
|
||||||
|
@ -1,9 +0,0 @@
|
|||||||
[xdebug]
|
|
||||||
xdebug.remote_enable=1
|
|
||||||
xdebug.remote_host=172.20.0.1 # Should use host.docker.internal but not working on linux
|
|
||||||
xdebug.remote_connect_back=0 # Not working on docker context
|
|
||||||
xdebug.remote_port=9001 # 9000 is already bound by php-fpm
|
|
||||||
xdebug.remote_handler=dbgp
|
|
||||||
xdebug.remote_mode=req
|
|
||||||
xdebug.remote_autostart=true
|
|
||||||
xdebug.remote_log=/var/log/xdebug-error.log # Log file is mounted on volume so you can follow it
|
|
13
ressources/xdebug.ini.example
Normal file
13
ressources/xdebug.ini.example
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
[xdebug]
|
||||||
|
xdebug.remote_enable=1
|
||||||
|
;Should use host.docker.internal but not working on linux
|
||||||
|
xdebug.remote_host=172.20.0.1
|
||||||
|
;Not working on docker context
|
||||||
|
xdebug.remote_connect_back=0
|
||||||
|
;9000 is already bound by php-fpm
|
||||||
|
xdebug.remote_port=9001
|
||||||
|
xdebug.remote_handler=dbgp
|
||||||
|
xdebug.remote_mode=req
|
||||||
|
xdebug.remote_autostart=true
|
||||||
|
;Log file is mounted on volume so you can follow it
|
||||||
|
xdebug.remote_log=/var/log/xdebug-error.log
|
Loading…
x
Reference in New Issue
Block a user