From 391858f0cb71fac31ff2ca2a447163f581bdd765 Mon Sep 17 00:00:00 2001 From: Sam L Date: Fri, 28 Nov 2025 11:44:48 -0500 Subject: [PATCH 1/5] Initial commit, issue-13-unexpected-pipe-failures Add pipe badge to README --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index defbc68..f9ef75d 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,5 @@ +[![Pipes](https://github.com/mobtitude/docker-php-xdebug/actions/workflows/pipes.yaml/badge.svg)](https://github.com/mobtitude/docker-php-xdebug/actions/workflows/pipes.yaml) + About this repo =============== This repository contains Dockerfiles to build PHP images with `xdebug` installed and configured to run with modern IDEs like phpStorm. From 4ed3b8c125242dba2d5fb85a9b9da45de2aad603 Mon Sep 17 00:00:00 2001 From: Sam L Date: Fri, 28 Nov 2025 11:45:27 -0500 Subject: [PATCH 2/5] Remove requirement for PR label --- .github/workflows/pipes.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pipes.yaml b/.github/workflows/pipes.yaml index 5b3a00b..4688b0a 100644 --- a/.github/workflows/pipes.yaml +++ b/.github/workflows/pipes.yaml @@ -30,7 +30,7 @@ jobs: if: | github.event_name == 'push' || github.event_name == 'workflow_dispatch' - || (github.event_name == 'pull_request' && contains(github.event.pull_request.labels.*.name, 'ci')) + || github.event_name == 'pull_request' runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 From 9ec2ad1aeff388d40cbc98030fec67a61f3ae5ea Mon Sep 17 00:00:00 2001 From: Sam L Date: Fri, 28 Nov 2025 11:49:14 -0500 Subject: [PATCH 3/5] Revert removal of label requirement --- .github/workflows/pipes.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pipes.yaml b/.github/workflows/pipes.yaml index 4688b0a..5b3a00b 100644 --- a/.github/workflows/pipes.yaml +++ b/.github/workflows/pipes.yaml @@ -30,7 +30,7 @@ jobs: if: | github.event_name == 'push' || github.event_name == 'workflow_dispatch' - || github.event_name == 'pull_request' + || (github.event_name == 'pull_request' && contains(github.event.pull_request.labels.*.name, 'ci')) runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 From 01a928f8d7f27a1471cbb6788a7bf1cc101c7415 Mon Sep 17 00:00:00 2001 From: Sam L Date: Fri, 28 Nov 2025 11:58:28 -0500 Subject: [PATCH 4/5] Update generated files with changes to xdebug 3 configuration --- build/8.1-apache/xdebug.ini | 11 ++++++----- build/8.1-cli/xdebug.ini | 11 ++++++----- build/8.1-fpm/xdebug.ini | 11 ++++++----- build/8.2-apache/xdebug.ini | 11 ++++++----- build/8.2-cli/xdebug.ini | 11 ++++++----- build/8.2-fpm/xdebug.ini | 11 ++++++----- build/8.3-apache/xdebug.ini | 11 ++++++----- build/8.3-cli/xdebug.ini | 11 ++++++----- build/8.3-fpm/xdebug.ini | 11 ++++++----- 9 files changed, 54 insertions(+), 45 deletions(-) diff --git a/build/8.1-apache/xdebug.ini b/build/8.1-apache/xdebug.ini index a6c56ff..b04f78c 100644 --- a/build/8.1-apache/xdebug.ini +++ b/build/8.1-apache/xdebug.ini @@ -1,13 +1,14 @@ [xdebug] zend_extension=xdebug.so -xdebug.cli_color=1 -xdebug.mode=debug +xdebug.cli_color=0 +xdebug.show_local_vars=1 xdebug.start_with_request=trigger -xdebug.trigger_value=StartXDebug xdebug.output_dir="/tmp" xdebug.profiler_output_name="cachegrind.out.%H.%t.%p" -xdebug.discover_client_host=true -xdebug.client_port=9003 +xdebug.mode=develop,debug +xdebug.discover_client_host=1 +xdebug.client_port=9000 + diff --git a/build/8.1-cli/xdebug.ini b/build/8.1-cli/xdebug.ini index a6c56ff..b04f78c 100644 --- a/build/8.1-cli/xdebug.ini +++ b/build/8.1-cli/xdebug.ini @@ -1,13 +1,14 @@ [xdebug] zend_extension=xdebug.so -xdebug.cli_color=1 -xdebug.mode=debug +xdebug.cli_color=0 +xdebug.show_local_vars=1 xdebug.start_with_request=trigger -xdebug.trigger_value=StartXDebug xdebug.output_dir="/tmp" xdebug.profiler_output_name="cachegrind.out.%H.%t.%p" -xdebug.discover_client_host=true -xdebug.client_port=9003 +xdebug.mode=develop,debug +xdebug.discover_client_host=1 +xdebug.client_port=9000 + diff --git a/build/8.1-fpm/xdebug.ini b/build/8.1-fpm/xdebug.ini index a6c56ff..b04f78c 100644 --- a/build/8.1-fpm/xdebug.ini +++ b/build/8.1-fpm/xdebug.ini @@ -1,13 +1,14 @@ [xdebug] zend_extension=xdebug.so -xdebug.cli_color=1 -xdebug.mode=debug +xdebug.cli_color=0 +xdebug.show_local_vars=1 xdebug.start_with_request=trigger -xdebug.trigger_value=StartXDebug xdebug.output_dir="/tmp" xdebug.profiler_output_name="cachegrind.out.%H.%t.%p" -xdebug.discover_client_host=true -xdebug.client_port=9003 +xdebug.mode=develop,debug +xdebug.discover_client_host=1 +xdebug.client_port=9000 + diff --git a/build/8.2-apache/xdebug.ini b/build/8.2-apache/xdebug.ini index a6c56ff..b04f78c 100644 --- a/build/8.2-apache/xdebug.ini +++ b/build/8.2-apache/xdebug.ini @@ -1,13 +1,14 @@ [xdebug] zend_extension=xdebug.so -xdebug.cli_color=1 -xdebug.mode=debug +xdebug.cli_color=0 +xdebug.show_local_vars=1 xdebug.start_with_request=trigger -xdebug.trigger_value=StartXDebug xdebug.output_dir="/tmp" xdebug.profiler_output_name="cachegrind.out.%H.%t.%p" -xdebug.discover_client_host=true -xdebug.client_port=9003 +xdebug.mode=develop,debug +xdebug.discover_client_host=1 +xdebug.client_port=9000 + diff --git a/build/8.2-cli/xdebug.ini b/build/8.2-cli/xdebug.ini index a6c56ff..b04f78c 100644 --- a/build/8.2-cli/xdebug.ini +++ b/build/8.2-cli/xdebug.ini @@ -1,13 +1,14 @@ [xdebug] zend_extension=xdebug.so -xdebug.cli_color=1 -xdebug.mode=debug +xdebug.cli_color=0 +xdebug.show_local_vars=1 xdebug.start_with_request=trigger -xdebug.trigger_value=StartXDebug xdebug.output_dir="/tmp" xdebug.profiler_output_name="cachegrind.out.%H.%t.%p" -xdebug.discover_client_host=true -xdebug.client_port=9003 +xdebug.mode=develop,debug +xdebug.discover_client_host=1 +xdebug.client_port=9000 + diff --git a/build/8.2-fpm/xdebug.ini b/build/8.2-fpm/xdebug.ini index a6c56ff..b04f78c 100644 --- a/build/8.2-fpm/xdebug.ini +++ b/build/8.2-fpm/xdebug.ini @@ -1,13 +1,14 @@ [xdebug] zend_extension=xdebug.so -xdebug.cli_color=1 -xdebug.mode=debug +xdebug.cli_color=0 +xdebug.show_local_vars=1 xdebug.start_with_request=trigger -xdebug.trigger_value=StartXDebug xdebug.output_dir="/tmp" xdebug.profiler_output_name="cachegrind.out.%H.%t.%p" -xdebug.discover_client_host=true -xdebug.client_port=9003 +xdebug.mode=develop,debug +xdebug.discover_client_host=1 +xdebug.client_port=9000 + diff --git a/build/8.3-apache/xdebug.ini b/build/8.3-apache/xdebug.ini index a6c56ff..b04f78c 100644 --- a/build/8.3-apache/xdebug.ini +++ b/build/8.3-apache/xdebug.ini @@ -1,13 +1,14 @@ [xdebug] zend_extension=xdebug.so -xdebug.cli_color=1 -xdebug.mode=debug +xdebug.cli_color=0 +xdebug.show_local_vars=1 xdebug.start_with_request=trigger -xdebug.trigger_value=StartXDebug xdebug.output_dir="/tmp" xdebug.profiler_output_name="cachegrind.out.%H.%t.%p" -xdebug.discover_client_host=true -xdebug.client_port=9003 +xdebug.mode=develop,debug +xdebug.discover_client_host=1 +xdebug.client_port=9000 + diff --git a/build/8.3-cli/xdebug.ini b/build/8.3-cli/xdebug.ini index a6c56ff..b04f78c 100644 --- a/build/8.3-cli/xdebug.ini +++ b/build/8.3-cli/xdebug.ini @@ -1,13 +1,14 @@ [xdebug] zend_extension=xdebug.so -xdebug.cli_color=1 -xdebug.mode=debug +xdebug.cli_color=0 +xdebug.show_local_vars=1 xdebug.start_with_request=trigger -xdebug.trigger_value=StartXDebug xdebug.output_dir="/tmp" xdebug.profiler_output_name="cachegrind.out.%H.%t.%p" -xdebug.discover_client_host=true -xdebug.client_port=9003 +xdebug.mode=develop,debug +xdebug.discover_client_host=1 +xdebug.client_port=9000 + diff --git a/build/8.3-fpm/xdebug.ini b/build/8.3-fpm/xdebug.ini index a6c56ff..b04f78c 100644 --- a/build/8.3-fpm/xdebug.ini +++ b/build/8.3-fpm/xdebug.ini @@ -1,13 +1,14 @@ [xdebug] zend_extension=xdebug.so -xdebug.cli_color=1 -xdebug.mode=debug +xdebug.cli_color=0 +xdebug.show_local_vars=1 xdebug.start_with_request=trigger -xdebug.trigger_value=StartXDebug xdebug.output_dir="/tmp" xdebug.profiler_output_name="cachegrind.out.%H.%t.%p" -xdebug.discover_client_host=true -xdebug.client_port=9003 +xdebug.mode=develop,debug +xdebug.discover_client_host=1 +xdebug.client_port=9000 + From e76083040498fd7569ea5de6273c3e2511c4aa6f Mon Sep 17 00:00:00 2001 From: Sam L Date: Fri, 28 Nov 2025 11:59:14 -0500 Subject: [PATCH 5/5] Remove unused XDebug 2 configuration --- src/xdebug-2.ini | 13 ------------- 1 file changed, 13 deletions(-) delete mode 100644 src/xdebug-2.ini diff --git a/src/xdebug-2.ini b/src/xdebug-2.ini deleted file mode 100644 index 94ea677..0000000 --- a/src/xdebug-2.ini +++ /dev/null @@ -1,13 +0,0 @@ -[xdebug] -zend_extension=xdebug.so - -xdebug.cli_color=1 -xdebug.profiler_enable=0 -xdebug.profiler_enable_trigger=1 - -xdebug.profiler_output_dir="/tmp" -xdebug.profiler_output_name="cachegrind.out.%H.%t.%p" - -xdebug.remote_enable=1 -xdebug.remote_connect_back=1 -xdebug.remote_port=9000