Added template conditional debug info.