-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Suggestion: Show the generated Request object on --debug
or -vvv
#22
Comments
Hey @ThomasLandauer it would be quite useful! |
This is the object we're talking about, right? https://github.com/symfony/browser-kit/blob/v5.1.5/Request.php Looking at the properties there, I'd say:
It's hard to say which one is unimportant ;-) How long would it be if you just dump it all? In general I'd say it's better to scroll through some lengthy output, rather than missing that one crucial information ;-) |
@ThomasLandauer I was revisiting this issue to evaluate if it could be part of However, when reviewing the code, I noticed that this change should be implemented in innerbrowser and not in a module that extends from it, the reason is that we would have to do the same change in other modules like laravel. The symfony module should only worry about printing with For that reason, I am closing this issue in favor of Codeception/lib-innerbrowser#16, please edit the description there if you think that something of what was commented here is relevant for who decides to implement it. |
Thanks - and sorry for opening the same thing twice! ;-) |
Follow up of Codeception/Codeception#5977 (comment)
Since Symfony Module doesn't perform an actual HTTP request, but rather generates a Symfony
Request
object, it would be nice to be able to dump this object somehow, to see what's actually in there.The text was updated successfully, but these errors were encountered: