debugging discovery