Build a feature in the extension to display logs directly within the extension UI. This will help with easier debugging and tracking what's happening under the hood, especially during development and testing.
- Display runtime logs within the extension interface (e.g., a dedicated tab, collapsible panel).
- Ensure the log viewer is only accessible in development or debug mode — it should be hidden in production builds.
- Support real-time logging (e.g., append new logs as they come).
- Consider styling for readability (e.g., timestamps, log levels: info, warn, error).
- Clear logs button.