Skip to content

Commit

Permalink
Add "xdebug.start_with_request=yes" override to enable "trigger-less"…
Browse files Browse the repository at this point in the history
… breakpoints in IDE's
  • Loading branch information
emilh91 committed Nov 10, 2024
1 parent f2d43f0 commit 398b76c
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions runtimes/8.0/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ RUN useradd -ms /bin/bash --no-user-group -g $WWWGROUP -u 1337 sail
COPY start-container /usr/local/bin/start-container
COPY supervisord.conf /etc/supervisor/conf.d/supervisord.conf
COPY php.ini /etc/php/8.0/cli/conf.d/99-sail.ini
RUN echo "xdebug.start_with_request=yes" >> /etc/php/8.0/cli/conf.d/99-xdebug.ini
RUN chmod +x /usr/local/bin/start-container

EXPOSE 80/tcp
Expand Down
1 change: 1 addition & 0 deletions runtimes/8.1/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ RUN useradd -ms /bin/bash --no-user-group -g $WWWGROUP -u 1337 sail
COPY start-container /usr/local/bin/start-container
COPY supervisord.conf /etc/supervisor/conf.d/supervisord.conf
COPY php.ini /etc/php/8.1/cli/conf.d/99-sail.ini
RUN echo "xdebug.start_with_request=yes" >> /etc/php/8.1/cli/conf.d/99-xdebug.ini
RUN chmod +x /usr/local/bin/start-container

EXPOSE 80/tcp
Expand Down
1 change: 1 addition & 0 deletions runtimes/8.2/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ RUN useradd -ms /bin/bash --no-user-group -g $WWWGROUP -u 1337 sail
COPY start-container /usr/local/bin/start-container
COPY supervisord.conf /etc/supervisor/conf.d/supervisord.conf
COPY php.ini /etc/php/8.2/cli/conf.d/99-sail.ini
RUN echo "xdebug.start_with_request=yes" >> /etc/php/8.2/cli/conf.d/99-xdebug.ini
RUN chmod +x /usr/local/bin/start-container

EXPOSE 80/tcp
Expand Down
1 change: 1 addition & 0 deletions runtimes/8.3/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ RUN useradd -ms /bin/bash --no-user-group -g $WWWGROUP -u 1337 sail
COPY start-container /usr/local/bin/start-container
COPY supervisord.conf /etc/supervisor/conf.d/supervisord.conf
COPY php.ini /etc/php/8.3/cli/conf.d/99-sail.ini
RUN echo "xdebug.start_with_request=yes" >> /etc/php/8.3/cli/conf.d/99-xdebug.ini
RUN chmod +x /usr/local/bin/start-container

EXPOSE 80/tcp
Expand Down
1 change: 1 addition & 0 deletions runtimes/8.4/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ RUN useradd -ms /bin/bash --no-user-group -g $WWWGROUP -u 1337 sail
COPY start-container /usr/local/bin/start-container
COPY supervisord.conf /etc/supervisor/conf.d/supervisord.conf
COPY php.ini /etc/php/8.4/cli/conf.d/99-sail.ini
RUN echo "xdebug.start_with_request=yes" >> /etc/php/8.4/cli/conf.d/99-xdebug.ini
RUN chmod +x /usr/local/bin/start-container

EXPOSE 80/tcp
Expand Down

0 comments on commit 398b76c

Please sign in to comment.