Configuration of debug and threshold.