mrjs
mrjs copied to clipboard
Create a better debug interface
The current debug interface is a global boolean that enables all debug features. this can be noisy and impacts performance, and will likely have more impact as we add more features.
I propose we create a debug interface that is feature specific and can be controlled in real time.
Current API:
<mr-app debug="true"
draft proposal:
<mr-app debug="physics: true; events: true; ... ">
This is a low priority and there may be a way to get even more granular, enabling debugging at an entity level.
we now have debug, orbital, stats and preserve-drawing-buffer so it's probably enough to close this bug
https://docs.mrjs.io/doc/mr-app/#debug