remove debug option and just use internal R debuggin tools