use std::atomic<> load for all reads of debug