Jazz Inspector
Jazz Inspector is a tool to visually inspect a Jazz account or other CoValues.
For now, you can get your account credentials from the jazz-logged-in-secret
local storage key from within your Jazz app.
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
Alternatively, you can 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.