https://github.com/BabylonJS/Spector.js See also http://www.realtimerendering.com/blog/debugging-webgl-with-spectorjs/