Adding debug statements to detachable #1472