MDLSITE-3076 added debugging() calls to provides clues in the event of an error