Conditional debug alloc.