18

I need to get more detailed information in order to compare my Canvas, WebGL and other's Canvas, WebGL works.

So I looked for a feature that Canvas, WebGL can debug and investigate in the developer tool of the browser. Although Canvas and WebGL are common technologies, their debugging tools were not found very much.


According to their official site, Firefox introduced Canvas debugging tools in 2014, and WebKit introduced Canvas debugging tools in 2018.

However, the latest versions of Firefox and Chrome do not have these features.


I saw a lot of threads on SO, but they were either "install an old browser" or "use someone else's extended debugging tool".

However, I do not want to install a browser that is too old. Also, the extension debugging tool that someone created was mostly unmaintained (example: WebGL-Inspector).


Are there any Canvas, WebGL debuggers or inspectors that I can currently use with the latest browsers (Firefox, Chrome)?

1 Answers1

4

I recommend spector js as webGL inspector. It's chrome extension and allow you to make a snapshot of frame and then check a lot of useful informations like webGL command list, context info, states of renderer etc.

For example you can check how your frame is rendered draw call by draw call, it's useful during optimisation.

URL: https://chrome.google.com/webstore/detail/spectorjs/denbgaamihkadbghdceggmchnflmhpmk

Gawlas
  • 88
  • 7