Uding debug for debugging