debugging tools in r