The collection is limited to full debuginfo builds to match behavior of FunctionCx::compute_per_local_var_debug_info.