now logs all debug messages