optionally provide a resource path when inspecting