   # Only allow String, Numeric, Hash, Array, Proc, Boolean
   # or <tt>Liquid::Drop</tt>
   set: (key, value) ->
+    Liquid.log "[SET] %s %j", key, value
     @scopes[0][key] = value
 
   get: (key) ->
-    @resolve(key)
+    value = @resolve(key)
+    Liquid.log "[GET] %s %j", key, value
+    value
 
   hasKey: (key) ->
     !!@resolve(key)


    variable or= @lookupAndEvaluate(scope, key)

    liquify(variable)

  variable: (markup) ->
    future = futures.future()

      @push(newScope)
      result = f()

      if futures.future.isFuture(result)
        popLater = true
        result.when => @pop()

      result
    finally
