Skip to content

Console API

Console API emits debug or log output while a script runs. Output lands in the platform’s script console and the project log.

Writes the given object (string, number, plain objects, JS primitives) to the console.

ins.consoleLog("Debug: started");
ins.consoleLog({ phase: "warm-up", count: 12 });
ins.consoleLog(42);