Add initial xdebug support
Enable using `XDEBUG_MODE=debug docker compose up`.
This commit is contained in:
parent
d6f8b29065
commit
4138112e4c
3 changed files with 8 additions and 9 deletions
|
@ -1,8 +1,6 @@
|
|||
services:
|
||||
php-fpm:
|
||||
php:
|
||||
environment:
|
||||
XDEBUG_MODE: ${XDEBUG_MODE:-off}
|
||||
extra_hosts:
|
||||
- "host.docker.internal:host-gateway"
|
||||
|
||||
web:
|
||||
ports:
|
||||
- "80:80"
|
||||
host.docker.internal: host-gateway
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue