Add debug message for the case that navigation template is changed by navigation attribute.