I am using Visual Studio Code with the OH extension. In the rules file I can see the values of the items hovering over them.
Is it also possible to see the values of the rule variables?
VSCode cant ask the REST api what a variables value is.
Think about this; the rule is not running so the variables may not even exist.
Usually you could use something like
logInfo("test", "value " + myVariable.toString)
to record values of interest in your openhab.log
during rule execution.