title: How to Modify This ES6 Code so as to Insert a Breakpoint?
body: <p>I'm learning ES6 syntax, as well as the latest Apollo libs. This <code>withData</code> code is adapted from the Githunt-React Apollo demo. </p>
  
  <pre><code>const withData = graphql(GETIMS_QUERY, {
      options: ({ params }) =&gt; ({
          variables: {
              "fromID": Meteor.userId(),
              "toID": `${params.toID}`,
          },
      }),
  });
  </code></pre>
  
  <p><code>params</code> doesn't seem to contain what I expect. I'd like to insert a breakpoint in order to examine the contents of <code>params</code>.  But if I add a breakpoint next to <code>options</code>, I find that <code>params</code> is undefined. </p>
  
  <p>I guess I may need to add a breakpoint inside this code block in order to see the contents of <code>params</code>:</p>
  
  <pre><code>const withData = graphql(GETIMS_QUERY, {
      options: ({ params }) =&gt; ({
          //IS THERE A WAY TO ADD A BREAKPOINT IN HERE SOMEHOW?
          //MAYBE RETURN `VARIABLES` AS A FUNCTION RESULT?
          variables: {
              "fromID": Meteor.userId(),
              "toID": `${params.toID}`,
          },
      }),
  });
  </code></pre>
  
  <p>Is there a way to do that?</p>
  
  <p>Thanks in advance to all for any info.</p>