Are there tools for inspecting references to a javascript object?

I have created several objects in javascript program and decided to check – whether the JS garbage collector disposed them. I have used WeakRef() to check it, but deref() returned object reference (not undefined).

The question is – are there tools (Firefox 112), that allow me to get info – how many references to the object are retained, and which objects refer to my target object (to make it easier to find – why the object is not freed) ?