This function is an app equivalent to console.log(msg) which writes text into a console visible in debug mode “true” or “console”.
See Also: SetDebug
Example - Demonstration
function OnStart()
{
app.CreateDebug();
app.ShowDebug(true);
app.Debug("\n\t\tHello World!");
}
from native import app
def OnStart():
app.CreateDebug()
app.ShowDebug(True)
app.Debug("\n\t\tHello World!")