Codeception / Codeception/lib-innerbrowser

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

Đang mở
#16 1 bình luận 0 reaction 0 người được giao Xem trên GitHub
enhancement
Ngôn ngữ chính
PHP
Star
87
Fork
20
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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.

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.