DEBUG has been a cheap precursor to R's
options(verbose= .) (or a verbose function argument). This function prints out its arguments as cat() does,
additionally printing the name of function in which it's been called ---
only when a global variable DEBUG exists and is
TRUE.
prt.DEBUG(..., LEVEL = 1)cat(...) for
printing.