Report everything in debug mode
Move function to Config class