Debug messages tuning