mrjs icon indicating copy to clipboard operation
mrjs copied to clipboard

Create a better debug interface

Open michaelthatsit opened this issue 2 years ago • 1 comments

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.

michaelthatsit avatar Oct 17 '23 20:10 michaelthatsit

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

lobau avatar Apr 08 '24 20:04 lobau