Jazz Inspector
Jazz Inspector is a tool to visually inspect a Jazz account or other CoValues.
To pass your account credentials, go to your Jazz app, copy the full JSON from the jazz-logged-in-secret
local storage key,
and paste it into the Inspector's Account ID field.
Alternatively, you can pass the Account ID and Account Secret separately.
Exporting current account to Inspector from your app
In development mode, you can launch the Inspector from your Jazz app to inspect your account by pressing Cmd+J
.
Embedding the Inspector widget into your app
You can also embed the Inspector directly into your app, so you don't need to open a separate window.
Install the package.
npm install jazz-inspector-element
Render the component.
import "jazz-inspector-element" document.body.appendChild(document.createElement("jazz-inspector"))
Or
import "jazz-inspector-element" <jazz-inspector />
This will show the Inspector launch button on the right of your page.
Check out the file share app for a full example.