Remove a line while testing the 500 view and restore the default debug state