sampler needs its own debug flag