Firefox Browser Add-ons
  • Extensions
  • Themes
    • for Firefox
    • Dictionaries & Language Packs
    • Other Browser Sites
    • Add-ons for Android
Log in
Preview of PtahJs DevTools

PtahJs DevTools by ptahjs

Inspect @ptahjs/tri in real time: scenes, store, entities, systems, and renderer config. For tri engine developers.

0 (0 reviews)0 (0 reviews)
Download Firefox and get the extension
Download file

Extension Metadata

Screenshots
About this extension
PtahJs DevTools is a browser DevTools extension for developers building applications on the @ptahjs/tri WebGPU ECS engine. It adds a dedicated "Tri" panel to the browser's native DevTools that lets you inspect the engine's runtime state in real time — scenes, the internal engine.store Map, ECS entities and their components, registered systems, and the renderer configuration.


This extension is only useful if you are developing or debugging an app built with @ptahjs/tri. If your page does not expose window.__TRI_DEVTOOLS__ (tri mounts this in dev or when the devtools flag is enabled), the panel will show a "waiting for snapshot" state. It does not work on arbitrary websites.


The panel exposes five tabs:
  • Scenes — all scenes registered in the engine, their entity counts, and active state.
  • Store — the full engine.store Map. Search by id or value, click any row to see the complete JSON payload of that entry, with a diff badge highlighting entries that changed since the last snapshot.
  • Entities — every ECS entity, which scene it belongs to, which components and systems are attached to it. Filter by id, component, or scene.
  • Systems — registered ECS systems, matched entity counts, and their requiredComponents.
  • Renderer — the current renderer configuration as a live JSON view.

Refresh can be automatic (200ms / 500ms / 1s / 2s) or triggered manually. A latency indicator shows how long the last snapshot took to pull.
  1. Install the extension.
  2. Open the app you want to inspect (it must be a page running a @ptahjs/tri engine that exposes window.__TRI_DEVTOOLS__).
  3. Open the browser DevTools (F12).
  4. Find the "Tri" panel in the DevTools tab bar (it may be under the » overflow menu on the far right).
  5. The panel connects automatically and starts streaming snapshots.


The extension does not collect, transmit, or sell any user data. It reads engine state from the inspected page via chrome.devtools.inspectedWindow and only uses chrome.storage.local to record a load timestamp and panel-creation status for diagnostics. See the full privacy policy at the project homepage.
  • Chrome / Edge / other Chromium browsers: MV3, version 111+ recommended.
  • Firefox: 109+ (uses the browser_specific_settings.gecko id ptahjs-devtools@ptahjs.com).
  • Source code & issues: https://github.com/Ptahjs
  • Privacy policy: https://github.com/PtahJs/browser-extension-devtools/blob/main/PRIVACY.md
Rated 0 by 0 reviewers
Log in to rate this extension
There are no ratings yet

Star rating saved

5
0
4
0
3
0
2
0
1
0
No reviews yet
Permissions and data

Required permissions:

  • Extend developer tools to access your data in open tabs

Data collection:

  • The developer says this extension doesn't require data collection.
Learn more
More information
Add-on Links
  • Homepage
  • Support site
  • Support Email
  • Copy add-on ID
Version
1.0.0
Size
26.81 KB
Last updated
3 days ago (Sep 3, 2026)
Related Categories
  • Web Development
License
MIT License
Privacy Policy
Read the privacy policy for this add-on
Version History
  • See all versions
Add to collection
Report this add-on
Go to Mozilla's homepage

Add-ons

  • About
  • Firefox Add-ons Blog
  • Extension Workshop
  • Developer Hub
  • Developer Policies
  • Community Blog
  • Forum
  • Report a bug
  • Review Guide

Download

  • Download Firefox
  • Windows
  • macOS
  • iOS
  • Android
  • Linux
  • All

Latest Builds

  • Nightly
  • Beta

Firefox for Business

  • Enterprise

Community

  • Connect
  • Contribute
  • Developer

Follow

  • Instagram
  • YouTube
  • TikTok
  • Bluesky
  • Podcast
  • Privacy
  • Cookies
  • Legal

Except where otherwise noted, content on this site is licensed under the Creative Commons Attribution Share-Alike License v3.0 or any later version.