better displaying of debug information