Codeception / Codeception/lib-innerbrowser

Dump the Request object on `--debug` or `-vvv`

Open
#16 1 comment 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
PHP
Stars
87
Forks
20
PR merge metrics
No merged PRs in 30d

Description

Codeception's console output (see https://github.com/Codeception/Codeception/issues/5977#issuecomment-694696510 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.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.