Debugging Apps
When developing more complex apps, it is often important to print out debug values.
This can be done in three ways.
(value)
debugExecution stops and value
is displayed in the debug screen.
(value, ...)
terminal_printNOTE: this is the regular Lua's
print()
.
Prints out values to stdout.
It can be also used to print multiple values:
terminal_print("a", "b", "c")
(value, ...)
terminal_prettySame as terminal_print()
but pretty-prints anything. Specially useful when
debugging tables.