Rules: how to display the value of variables?
Two options:


At admin/config/workflow/rules/settings, set "Show debug information" to "Always."
In the rule's actions, add the action "Show a message on the site" (under the System group, I believe). Pass it the variable(s) you want to debug.