Inspect the remote nodes by code

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By stephanem

Hello,
I am trying to work with the remote tree nodes by code for debug purposes (in a similar way you would in a local tree). One of my attempts was to get the selected object in “remote” tab while running the game from the remote tree with this

@tool
extends EditorPlugin

func _handles(object: Object) → bool:
return true

func _edit(object: Object):
# do stuff with object

I got stuck by the fact that what I get is an object of type EditorDebuggerRemoteObject.
I try to have a look on the c++ code and I conclude I am doing something totally wrong :slight_smile: so my question is: how is the right way to play with remote tree while in running mode?