Using debug for debugging