dump_and_quit <- function() {
# Save debugging info to file last.dump.rda
dump.frames(to.file = TRUE)
# Quit R with error status
q(status = 1)
}
options(error = dump_and_quit)
load("tmp/last.dump.rda")
debugger(last.dump)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.