Add debug section for termination