debug

debug(value: any, label: str, capture_stack_trace: bool) -> None

Creates a Run History item with the specified variable and optional label.

This is a functional equivalent of print . It exists because there is no stdout interface within Glyue, so all output must be intentionally called to be surfaced in the Run History.

a = ["SAMPLE"]
debug(a, label="Sample array")

Last updated