Rebol Programming/dbug

= USAGE: = DBUG msg

= DESCRIPTION: =

(undocumented)

DBUG is a function value. = ARGUMENTS =
 * msg -- (Type: block any-string)

= SOURCE CODE = dbug: func [msg [block! any-string!] /local dbg][ if not dbg: user-prefs/debug [exit] msg: head insert remold msg "desktop " either file? dbg [write/append dbg msg] [print msg] ]