Firefox 瀏覽器附加元件
  • 擴充套件
  • 佈景主題
    • 用於 Firefox
    • 字典與語言套件
    • 其他瀏覽器網站
    • Android 版的附加元件
登入
PtahJs DevTools 預覽

PtahJs DevTools 作者: ptahjs

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

0(0 筆評分)0(0 筆評分)
下載 Firefox 並安裝擴充套件
下載檔案

擴充套件後設資料

畫面擷圖
關於此擴充套件
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
由 1 位評論者給出 0 分
登入後即可幫此擴充套件評分
目前沒有評分

已儲存星等

5
0
4
0
3
0
2
0
1
0
還沒有評論
權限與資料

必要權限:

  • 讓開發者工具可存取您在開啟分頁中的資料

收集下列資料:

  • 開發者聲稱此擴充套件不要求收集任何資料。
了解更多
更多資訊
附加元件網址
  • 首頁
  • 技術支援網站
  • 技術支援信箱
  • 複製附加元件 ID
版本
1.0.0
大小
26.81 KB
最近更新
4 天前 (2026年9月3日)
相關分類
  • 網頁開發
授權條款
MIT License
隱私權保護政策
閱讀此附加元件的隱私權保護政策
版本紀錄
  • 瀏覽所有版本
新增至收藏集
檢舉此附加元件
前往 Mozilla 官網

附加元件

  • 關於
  • Firefox 附加元件部落格
  • 擴充套件工作坊
  • 開發者交流中心
  • 開發者政策
  • 社群部落格
  • 討論區
  • 回報 Bug
  • 評論撰寫指南

下載

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

最新編譯版本

  • Nightly
  • Beta

Firefox for Business

  • Enterprise

社群

  • Connect
  • Contribute
  • Developer

追蹤

  • Instagram
  • YouTube
  • TikTok
  • Bluesky
  • Podcast
  • 隱私權
  • Cookie
  • 法律資訊

除另有註明外,本站內容皆採用創用 CC 姓名標示—相同方式分享條款 3.0 或更新版本授權大眾使用。