webvr-polyfill icon indicating copy to clipboard operation
webvr-polyfill copied to clipboard

Expose debugging values

Open jsantell opened this issue 7 years ago • 1 comments

We should expose values like the build version number, as well as what dpdb values are being used easily from WebVRPolyfill for debugging

jsantell avatar Jun 01 '17 17:06 jsantell

This is a good idea. Thoughts on how the debug mode would be enabled/toggled? A key set on window.WebVRConfig (or, if/when the exposed module interface changes, in the settings object passed when initialising the Polyfill)? A value set via localStorage? A query-string parameter or hash in the URL?

cvan avatar Jun 09 '17 06:06 cvan