Skip to content
New issue

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

Apparently enabling xdebug.mode=debug,develop breaks the proxy generation #41

Open
odahcam opened this issue Jul 19, 2024 · 0 comments
Open

Comments

@odahcam
Copy link

odahcam commented Jul 19, 2024

I just discovered this after many hours of debugging, sorry I couldn't get more data but I'm using this @ v1.0.18 with PHP-DI v7.0.8 and I had to test each commit of my app to find out what broke it. Turns out enabling the mode xdebug.mode=debug,develop breaks PHP-DI lazy injections because it can't generate the proxies using this library. I believe xdebug is probably exaggerating some notice or warning and breaking everything afterwards. I understand you might not want to dig into this but I found it was a good idea to document this somewhere in case any unlucky dev falls into this buggy trap. Thanks.

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

No branches or pull requests

1 participant