Request: Add a way to view human-friendly, formatted strings withing logged objects in console

feedback
#1

When objects with large string values are logged to the console, there doesn’t appear to be a way to view the human-readable representation of the string. This makes debugging difficult. In my use case, I have a dev tool to log graphql queries in the console. To demonstrate with a small query:

When queries are large, they quickly become unreadable.

In Chrome, you can double click the string to get a readable version within a text input (which also makes it easier to copy to clipboard).

Would love to see something like this in the Firefox Dev Tools!

0 Likes

(Harald Kirschner) #2

Great idea, and the provided example shows a typical use case. I filed it as https://bugzilla.mozilla.org/show_bug.cgi?id=1538377

0 Likes