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


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!


(Harald Kirschner) #2

Great idea, and the provided example shows a typical use case. I filed it as