-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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
Improve documentation for DEBUG variable #5279
Comments
@Mathspy Thank you for your kind words!
For your usecase, where something in your page does not work as you'd expect, we'd like the debugging story to be much more user friendly and are working on that. From what I see here, you'd need something similar to Network Panel in browser Devloper Tools. Meanwhile, if you can reproduce the issue locally, you could launch with That said, there is always a room for improvement in our documentation. If you'd like to contribute a PR about |
Gotcha! Well in my case the bug was irreproducible locally; it was an And yeah after trying |
I'll close this as a part of the bug triaging process. We have hundreds of bugs and feature requests with dozens and even hundreds of upvotes, while this one only has a few thumbs up. Please feel free to open a new bug and link this one if you'd like to see it addressed. |
First let me start by thanking you for the lovely library and its truly stellar documentations ❤️ I did notice one tiny thing that could be improved in the latter though
DEBUG
environmental variable has some extremely valuable logs (its logs are really good!) in situations where for example some resource hangs duringpage.goto
and it'd be useful to find out what's hanging by usingDEBUG=pw:protocol
(or similar?) but as of right now onlypw:api
andpw:browser*
are documented and even those aren't fully explained (What do each of them log and what do they not log?)The only reason I stumbled upon
pw:protocol
are other issues with similar problems where it was recommended, i.e #3151I still don't know the difference between
pw:protocol
,pw:protocol*
(#3726 (comment)) and*protocol*
(#5224 (comment)) and which one would fit my situation better which isn't that big of a problem as I can at least try each until I figure the problem out but I think it's something future users could benefit fromThank you ❤️
The text was updated successfully, but these errors were encountered: