Bug fixing. Suddenly debug messages are not printing