Rebol Programming/vbug

= USAGE: = VBUG msg

= DESCRIPTION: =

(undocumented)

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

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