debug is being called on the resource