code: def inline_callbacks(original, debug=False):
      
      f = eliot_friendly_generator_function(original)
      if debug:
          f.debug = True
      return inlineCallbacks(f)
docs: Decorate a function like ``inlineCallbacks`` would but in a more
      Eliot-friendly way.  Use it just like ``inlineCallbacks`` but where you
      want Eliot action contexts to Do The Right Thing inside the decorated
      function.