debug for form