Skip to content

Commit

Permalink
Merge pull request #122 from universityofadelaide/xdebug-3.1
Browse files Browse the repository at this point in the history
Update xdebug.ini to work with php8 and xdebug 3.1
  • Loading branch information
behzad1q authored May 15, 2023
2 parents ca52a85 + a5926e1 commit ec113c9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
3 changes: 2 additions & 1 deletion scaffold/optional/docker-compose.linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,8 @@ services:
- ${XDG_RUNTIME_DIR}/keyring:/ssh
networks:
- default

extra_hosts:
- host.docker.internal:host-gateway
db:
image: mariadb
environment:
Expand Down
10 changes: 4 additions & 6 deletions scaffold/optional/docker/xdebug.ini
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
zend_extension=xdebug.so
xdebug.max_nesting_level=500
xdebug.remote_enable=1
xdebug.remote_handler=dbgp
xdebug.remote_mode=req
xdebug.remote_port=9000
xdebug.remote_connect_back=1
xdebug.idekey=PHPSTORM
xdebug.mode=debug,develop
xdebug.start_with_request=yes
xdebug.client_host=host.docker.internal
xdebug.client_discovery_header=HTTP_X_FORWARDED_FOR,REMOTE_ADDR

0 comments on commit ec113c9

Please sign in to comment.