Back

CreateDebug

JS Py
Hello World

CreateDebug is used to show the console as overlay above the app in order to see the debug logs.

app.CreateDebug( options? ) → void

See Also: SetDebug, Debug

Example - Demonstration

function OnStart()
{
    app.CreateDebug();

    app.Debug("Hello World!");
}
from native import app

def OnStart():
    app.CreateDebug()

    app.Debug("Hello World!")
    Copy     Copy All       Run      
String: dialog or clear