Moved debugging output