Navigated to /docs/core/runtime-devtools

Runtime devtools reference

Inspect privacy-safe route, cache, module, component, effect, and scheduler state in the browser.

Snapshot and subscription APIs

TS
tsimport {
  inspectTavoRuntime,
  installTavoDevtoolsPanel,
  subscribeTavoRuntime,
} from "@tavojs/core/dev";

console.debug(inspectTavoRuntime());

const stop = subscribeTavoRuntime((snapshot) => {
  console.debug(snapshot.route, snapshot.status);
});
const panel = installTavoDevtoolsPanel();

export function disposeDevtools() {
  stop();
  panel.dispose();
}
API / optionTypeDefaultBehavior
inspectTavoRuntime()TavoDevtoolsSnapshotcurrent stateReturns pathname, route, status, params, route runtime inspection, and DOM counts.
subscribeTavoRuntime(listener, options)unsubscribe functionimmediate: truePublishes on navigation and route-status changes; pass immediate: false to skip the first callback.
installTavoDevtoolsPanel(options)TavoDevtoolsPaneldocument.body, closedInstalls a dependency-free browser panel. It throws when no DOM document exists.
panel.refresh()voidRefreshes the JSON snapshot manually.
panel.dispose()voidUnsubscribes listeners, removes events, and removes the panel element.

Look up exact public types

Follow linked API names to their canonical TypeScript declarations and package boundaries.