Enabled dynamic switching for debugging between data browsing (RStudio) and printing, depending on platform GUI capabilities.