I’d say RStudio has an edge WRT to debugging R code... unless I just haven’t figured out ESS properly on that front.