Skip to content

Dump the Request object on --debug or -vvv #16

Open
@ThomasLandauer

Description

@ThomasLandauer

Codeception's console output (see Codeception/Codeception#5977 (comment) for some examples) is misleading in that it suggests that there's an actual HTTP request being made, while in fact it's just a Symfony BrowserKit Request object that is passed to the framework's (front-)controller.

The actual content of this Request object isn't shown anywhere. I used var_dump() in my controller (!) for debugging.

So I'm suggesting to dump the Request object into the console if Codeception is called with the --debug or -vvv flag.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions