Read payload from Debug pane

So,

I need to read a payload from the debug pane - this is in view of streamlining a setup for users.
I am aware of the websocket topic of "debug" - but having it already in the debug pane is obviously better.

Is there a way to pragmatically grab a payload (without using copyValue button) from the debug pane?
the payload will be used to add an entry in editableList

I was hoping, there is a data attribute - but it only contains the Source Node ID