DebugPrint() will also automatically append a newline character to the
end of its output. If you don't want that, use DebugPrintNR()
instead. See DebugPrintNR for details.
This function supersedes the DebugStr() and DebugVal() calls. They now simply point to this call.
This call can be disabled by specifying the ‘-nodebug’ console argument
when running a script or applet. In that case, calling
do nothing at all. See Console arguments for details.
Also note that when compiling an applet or executable, debugging will be
automatically disabled unless you explicitly enable it by setting the
EnableDebug tag to
True in @OPTIONS. So if you have
compiled an applet or executable and you see that
DebugPrint() doesn't do
anything, the reason is probably that debugging is disabled.
DebugPrint("The user entered", name$, "as his name and", age, "as his age!")