Skip to content

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

@odahcam

Description

@odahcam

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions