iff to use such an approach, then it makes sense to put debug as a module variable