Replace each method on the given WebGL2RenderingContext with a version that logs diagnostic information to the given console.
WebGL2RenderingContext
The rendering context to debug.
The console to log diagnostic information to.
An object that controls the debugger.
Replace each method on the given
WebGL2RenderingContext
with a version that logs diagnostic information to the given console.