OH3 Using Developer Sidebar using variables and props from widgets

Is there any way to use the “Developer Sidebar” using variables from a widget under development?

It seems that only items can be accessed, which means that expressions such as

="partition_secondary_command|2," + (1 << (((vars.selectedPartition === NULL) ? props.selectedPartition : vars.selectedPartition).substr(-1) - 1))

Can not be evaluated?

If not - any suggestions on how to evaluate / debug this expression?

I am trying to understand the syntax and adapt to my uses.

Thanks
Mark