I suppose you can use DebugBreak() function like:

DebugBreak(_MyStringVar);

The result are shown in the MessagePanel. (Usually on a bottom of the screen)

I am not sure if the execution of the rule will break but it should be o.k. to use it as a last line in a rule.