Skip to content
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

DevTools tab for debugging #79

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open

DevTools tab for debugging #79

wants to merge 4 commits into from

Conversation

taneltm
Copy link
Member

@taneltm taneltm commented Jan 28, 2025

Adds the "Web eID" tab to the browser's DevTools.

Features:

  • Event history between the website, extension and native application.
  • Extension's internal log messages.
  • Option to override extension settings, without needing to compile the extension yourself.
  • Option to allow the http://localhost origin when authenticating and signing

The developer tool is disabled by default and needs to be enabled before it can be used.

Firefox

  1. Open [Menu -> Settings -> Extensions and themes]
    or navigate to the address about:addons
  2. Open the Web eID extension details
  3. Open the "Permissions" tab
  4. Toggle "Extend developer tools to access your data in open tabs"

Chrome

  1. Open [Settings -> Extensions]
    or navigate to the address chrome://extensions/
  2. Open the Web eID extension details
  3. Open "Extension options"
  4. Toggle "Enable developer tools"

Screenshots:
Viewing event sequence and the event objects:
image

Viewing the extension's internal log messages:
image

Overriding the extension settings:
image

Resolves WE2-967
Resolves #40

Signed-off-by: Tanel Metsar <taneltm@users.noreply.github.com>
Signed-off-by: Tanel Metsar <taneltm@users.noreply.github.com>
Signed-off-by: Tanel Metsar <taneltm@users.noreply.github.com>
…vity

WE2-967

Includes minor cleanup for DevTools related files

Signed-off-by: Tanel Metsar <taneltm@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Option for Verbose Debug Log Messages (in Production)
1 participant