Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[DependencyInjection][Debug] introduce debug command to display decoration stack #59787

Open
@nikophil

Description

@nikophil

Description

Hi!

it's sometimes challenging to grasp and/or debug the full decoration stack of a given service, mainly for some part of the code heavily relying on decoration (eg: http client)

I think a debug command displaying the decoration stack could be useful. It could be bin/console debug:decoration-stack [serviceId], or a new option of debug:container, eg bin:console debug:command [serviceId] --display-stack?

the serviceId argument could be the full serivce id, or maybe the class short name, if the service's name is a FQCN.

WDYT?

Example

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions