wip: registry_resources: add debug output