Debug in jjm.diag-internal.R functions

Signed-off-by: LuisLauM <luis.laum@gmail.com>