Skip to content

Commit

Permalink
add basic XDebug config
Browse files Browse the repository at this point in the history
  • Loading branch information
Boldewyn committed Mar 10, 2024
1 parent c453504 commit 9c4798b
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions dev/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,16 @@ RUN apt-get update && \
a2ensite httpd && \
a2dissite 000-default

RUN <<EOT
cat <<EOF > /usr/local/etc/php/conf.d/99-codepoints.ini
xdebug.client_host=host.docker.internal
xdebug.mode=debug
xdebug.start_with_request=yes
xdebug.discover_client_host=0
xdebug.remote_handler = "dbgp"
xdebug.client_port=9003
EOF
EOT

# do not write access log to stdout
RUN rm /var/log/apache2/access.log /var/log/apache2/other_vhosts_access.log

0 comments on commit 9c4798b

Please sign in to comment.