Skip to content

_Debugging

NellsRelo edited this page Sep 22, 2023 · 1 revision

Selector Compatibility

The Compatibility Framework contains an API Endpoint to toggle Debug Test, which will populate the Console Window. Turning this one will result in a lot of information being displayed, so be sure to keep Debug off (as is default) when releasing your mods.

API Usage

Api.ToggleDebug

This function takes a Boolean value, that is, true or false. If true is passed in, Debug mode will be enabled.