Weaken reference and disable debug