Skip to content

Set XDEBUG_MODE=off when running cache:clear command via auto-scripts #936

Closed as not planned
@Seldaek

Description

@Seldaek

As #743 was rejected (and I can't really argue with the reasoning tbh) - it would be nice to set XDEBUG_MODE=off in the env while running cache:clear, as running a cache warmup with xdebug enabled can have quite a big impact on perf (seeing 60-70% less CPU time here).

Of course everyone can fix this themselves, but doing it here would improve the experience for everyone at once.

I'd argue perhaps the cache:clear command could use something like composer/xdebug-handler even to force itself being run without xdebug, but that's a more invasive change.

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