He should not be at all involved in writing debate questions.
Nor should he be near to or privy to the questions until the candidates get the questions.