We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Images using xdebug 3 must use the new configuration parameters as said in the xdebug configuration; for me the following file worked fine:
zend_extension=xdebug [xdebug] xdebug.mode=develop,debug xdebug.client_host=host.docker.internal xdebug.start_with_request=yes
When working with docker compose you'll need a so called extra_host - mapping for the internal gateway. Working for me:
php: container_name: apache_php # image: mobtitude/php-xdebug:8.1-apache build: docker/apache2/build ports: - 8080:80 - 9001:9003 volumes: [...] extra_hosts: - host.docker.internal:host-gateway
In the docker/apache2/build I placed your Dockerfile and the xdebug.ini as shown above.
docker/apache2/build
Dockerfile
xdebug.ini
Thank you very much for sharing and cheers Achim
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Images using xdebug 3 must use the new configuration parameters as said in the xdebug configuration; for me the following file worked fine:
xdebug.ini
When working with docker compose you'll need a so called extra_host - mapping for the internal gateway. Working for me:
docker-compose.yml
In the
docker/apache2/build
I placed yourDockerfile
and thexdebug.ini
as shown above.Thank you very much for sharing and
cheers
Achim
The text was updated successfully, but these errors were encountered: