Description Usage Details Functions
The behavior of debugr
's main function, dwatch
,
depends on whether or not the debugr
debug mode is activated or
not. The debug mode is turned on and off by setting the global option
debugr.active
to TRUE
and FALSE
, respectively. This can
be accomplished with the debugr_switchOn
and debugr_switchOff
functions, or manually by running options(debugr.active = TRUE)
.
1 2 3 4 5 |
When debugr.active = TRUE
the debug mode is enabled and
dwatch
produces debugging outputs to the console (or to a
file). In contrast, when the debug mode is disabled, dwatch
remains "silent" and no output whatsoever will be shown.
debugr_switchOn
: Switches on the global option for debugging
debugr_switchOff
: Switches off the global option for debugging
debugr_isActive
: Check if debug mode is currently active or not
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.