add PeakMemoryProcessor to Logger in Debug Mode