Add debug message for rests.