Modified version of base::source that honors breakpoints set by the debugger.

.vsc.debugSource(
  file,
  local = FALSE,
  envir = NULL,
  chdir = FALSE,
  print.eval = NULL,
  encoding = "unknown",
  ...
)

Arguments

file

String giving the name of the file to be sourced. Connections etc. are not supported!

local

Same as in base::source(), can be overwritten by specifying an environment in envir.

envir

The environment in which to evaluate the sourced code. Overwrites local, if specified.

chdir

Whether to temporarily change the working directory to the location of file.

encoding

The encoding to be used by base::parse().

...

Further arguments are ignored but allowed for compatibility with base::source().

See also

Other overwrites: .vsc.load_all(), outputOverwrites