Added xdebug settings to php.ini

This commit is contained in:
Chris Kankiewicz
2020-04-09 16:03:02 -07:00
parent dacb42fbab
commit 0adc2e18de
2 changed files with 8 additions and 0 deletions

View File

@@ -2,3 +2,9 @@
error_reporting = E_ALL
log_errors = On
memory_limit = -1
[xdebug]
xdebug.remote_enable = 1
xdebug.remote_autostart = 1
xdebug.remote_host = host.docker.internal
xdebug.remote_port = 9000

View File

@@ -9,6 +9,8 @@ services:
volumes:
- ./:/var/www/html
restart: unless-stopped
extra_hosts:
- host.docker.internal:${DOCKER_HOST_IP}
networks:
default: