Lua primitives: DEBUG
The global variable DEBUG will have the value true if you're running a version of Lumail with compiled in debugging. The value will be false otherwise.
if ( DEBUG ) then msg( "Debug version" ); end
This function has been available since version 0.19.