Add new debug statements in Handler mapping and resolving phases