Help:Sandbox/debug

Old method, worked for <1.12 parser:

Another attempt - this technique causes the variable "$s$" to be replaced instead of the *value* of $s$, because the parser gets to it before #xploop does: