Skip to content

Commit ec113c9

Browse files
authored
Merge pull request #122 from universityofadelaide/xdebug-3.1
Update xdebug.ini to work with php8 and xdebug 3.1
2 parents ca52a85 + a5926e1 commit ec113c9

File tree

2 files changed

+6
-7
lines changed

2 files changed

+6
-7
lines changed

scaffold/optional/docker-compose.linux.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,8 @@ services:
4444
- ${XDG_RUNTIME_DIR}/keyring:/ssh
4545
networks:
4646
- default
47-
47+
extra_hosts:
48+
- host.docker.internal:host-gateway
4849
db:
4950
image: mariadb
5051
environment:
Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
zend_extension=xdebug.so
22
xdebug.max_nesting_level=500
3-
xdebug.remote_enable=1
4-
xdebug.remote_handler=dbgp
5-
xdebug.remote_mode=req
6-
xdebug.remote_port=9000
7-
xdebug.remote_connect_back=1
8-
xdebug.idekey=PHPSTORM
3+
xdebug.mode=debug,develop
4+
xdebug.start_with_request=yes
5+
xdebug.client_host=host.docker.internal
6+
xdebug.client_discovery_header=HTTP_X_FORWARDED_FOR,REMOTE_ADDR

0 commit comments

Comments
 (0)