Back when I worked on WebGPU in Firefox, GPU debugging was pretty straightforward. You’d use a setting that enables API traces of WebGPU, give it a path, and it would produce a trace. Then you’d replay it in a standalone application that is easily ran from NSight/RenderDoc/PIX/whatever.
Moreover, you could replay it on a different platform with a different API! It was a breeze. I bet it still works.
http://kvark.github.io/wgpu/debug/test/ron/2020/07/18/wgpu-a...