enable debugging in rstudio when testing a file

* not sure if the try is necessary 
  (I was thinking about older Rstudio versions - don't know how to test version)
* this works for me for breakpoints in functions
  but not for top level breakpoints in tests themselves