Add some extra debug logging for sql-matcher.