During test (connected mode or simulation) of the program the ST / IL editor shows in a tooltip the current value of the variable pointed to by the mouse cursor. You do not need to run any specific command to open the tooltip. Just put the mouse on the variable symbol and wait for one second.
The value shown in the tooltip is automatically refreshed while the tooltip is open.