Skip to content

Support for xdebug in local development with docker#587

Open
ArgusKay99 wants to merge 2 commits intophparkitect:mainfrom
ArgusKay99:add-xdebug
Open

Support for xdebug in local development with docker#587
ArgusKay99 wants to merge 2 commits intophparkitect:mainfrom
ArgusKay99:add-xdebug

Conversation

@ArgusKay99
Copy link

Feature Request

Q A
New Feature yes
RFC yes
BC Break yes

Summary

Can we add xdebug to the docker-container? I created a multi-stage Dockerfile that can be built with and without xdebug.

For context: I am developing on linux with Phpstorm and use the the Docker-container that is created in the CONTRIBUTING.md file as remote PHP interpreter and when there is a xdebug installed, i can already debug unit-tests.

I'm open to suggestions to use xdebug in another way.

BC Break for local development:
docker image build will now need a target: docker image build --target php_build -t phparkitect .

@codecov
Copy link

codecov bot commented Mar 8, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 98.12%. Comparing base (1d1af31) to head (1333913).

Additional details and impacted files
@@            Coverage Diff            @@
##               main     #587   +/-   ##
=========================================
  Coverage     98.12%   98.12%           
  Complexity      663      663           
=========================================
  Files            84       84           
  Lines          1923     1923           
=========================================
  Hits           1887     1887           
  Misses           36       36           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant