add some debug logging for extra resources.