setDebug function

Functions for command-line Rscript debugging