The US president says he will participate in Thursday’s debate, despite decrying the lack of a foreign policy topic.