Appearance
Debug Bar
The debug bar appears at the top of the screen whenever any code_branch session variable is active in LO as a visual reminder for the user that they are not viewing production assets. Additionally, the debug bar will output the current UTC build time for the loaded assets, as an additional reference. By default, this is a globally enabled feature for all DNL wrappers, assuming the reus_debug_bar reusable has been setup in the clients wrapper.
Disabling the Debug Bar
In circumstances where the debug bar is undesired, there are two options for disabling it, depending on circumstance.
Globally Disabling the Debug Bar
To never have the debug bar appear in a particular wrapper, the globalIsEnableDebugBar variable in the app's store should be set to false. If this a permanent change, the reus_debug_bar reusable can also be unpublished/removed.
Conditionally Disable the Debug Bar
The debug bar can also be disabled by setting the isDisableDebugBar variable to true in reus_custom_settings. You can utilize this with Luminate's conditional bracket syntax to disable the debug bar in certain contexts, such as on a particular form or entire modules.
html
[[?x9x1046x::x[[S4]]x::
<script>
const isDisableDebugBar = true;
</script>
::]]An example of disabling the debug bar on only donation forms.