Skip to content

[Debug] Separate visually errors from vendor and from application #23144

@rentalhost

Description

@rentalhost
Q A
Bug report? no
Feature request? yes
BC Break report? no
RFC? no
Symfony version 3.3.2 (last)

Should be great if on debug a stacktrace (like on the "whoops" page) we have a visual difference between the "vendor code" and the "application code". It can help find out "where my problem starts".

The ReflectionClass() should help to tell where file is located, then just check if it is from "vendor" folder to mark as "white background" else "yellow background" to indicate an "user-zone file".

Example:

image

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