Cleaned-up debugManager from current version
(check if to get it back for experiments later)