brendan-duncan / webgpu_inspector

Inspection debugger for WebGPU
MIT License
187 stars 7 forks source link
chrome-extensions developer-tools graphics webgpu wgsl

WebGPU Inspector

Inspect . Capture . Record

Introduction

Version: 0.9.0

Inspection, profiling, and graphics debugging browser extension for WebGPU.

WebGPU Inspector is designed to inspect what's happening with WebGPU on the page, independent of the engine.

WebGPU Inspector includes the following tools:

WebGPU Inspector provides the following capabilities:

Developer Tools window

Select More Tools / Developer Tools, or press F12 or Shit+CTRL+J (Option + ⌘ + J on MacOS). You can also right-click on the page and select Inspect. When the WebGPU Inspector extension is enabled in the extension manager, there will be a WebGPU Inspector tab.

WebGPU Inspector Panel

Extension Problem Solving

Back to top

WebGPU Inspector panel missing from Developer Tools

If the WebGPU Inspector tab is not present on the Developer Tools panel, try closing the Developer Tools window and opening it again. Sometimes the browser doesn't load the extension.

Inspect Start, Capture, or Record does not work

Sometimes the browser extension script does not get injected into the page properly. Refresh the page and WebGPU Inspector should start working.

Inspect is running but Capture does not work

Some pages will not update if they do not have focus. If Capture is not recording anything, try selecting the page to make sure it has focus.

Installation

Back to top

Chrome Web Store

Install WebGPU Inspector from the Chrome Web Store.

From Source

Back to top

To get the most up to date version of WebGPU Inspector, you can install the extension from source.

Crome and Firefox don't support the same version of extension plug-ins, so you'll need to load the correct version.

Chrome

Edge

Firefox Nightly

Safari Technology Preview

Development

Back to top

Building the project requires an installation of Node.js.

After the project is built:

Notes

External Dependencies

Back to top