Generate extended debug information if the form submission is not valid