Skip to content

Document how to use remote-settings-dev tools as part of a debugging workflow #60

@mostlygeek

Description

@mostlygeek

Place holder for notes as I had to do this recently.

  1. Is it on the server?
  • how to check your collection data using HTTP endpoints on dev/stage/prod
  1. Is it on your client?
  • how to enable the Browser Toolbox
  • how to find remote-settings data: storage > indexed DB > chrome > remote-settings > records, image
  • How to filter for records ("Filter Items"). Note the list is lazy loaded. So filtering only works on what's been loaded. Is there a better, more UX friendly way than scrolling through the list to force load?
  1. Notes for using dev tools
  • Why isn't my collection listed? The Collection list is lazy. A collection won't show up until the remote-settings client has been called by some feature's code. To do it manually:
    • In the browser toolbox > console , ChromeUtils.import("resource://services-settings/remote-settings.js").RemoteSettings("ms-language-packs")
    • refresh the remote-settings dev tools page, the collection should be in the list now
  • How to clear all local data (using dev tools), and confirming it (using browser toolbox)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions