Debug Console: Error messages are truncated and can't be read in full

Hi Nick,

I use the Debug Console a lot while developing extensions.

Problem

Long error messages in the console are cut off with an ellipsis. For example:

07:47:55.8 Error: Invalid config: Invalid type: Expected Object but rec…

The important part (what was actually received and which key is affected) is hidden. I can’t see it anywhere, so I can’t tell what is wrong with my config. Widening the window doesn’t help, because the line is truncated per row.

Suggested solutions

Any of these would help. They are listed roughly by effort:

  1. Show the full message. Wrap long lines, or let rows grow to fit their content.
  2. Show the full text on hover. A tooltip would be enough.
  3. Allow selecting and copying a row. A context menu item such as “Copy Full Message” or a ⌘C shortcut would let me paste it into a text editor.
  4. Add a detail pane. Selecting a row would show its untruncated content below the list.
  5. Add an export or copy-all option. “Copy Log” or “Save Log as File…” would also help when reporting bugs.

Bonus (optional)

For config validation errors, include the key path of the invalid value, for example actions[0].icon: Expected Object but received String. That would make these errors much easier to locate.

Best regards,
Thomas