title: Enabling Debug Mode for Firebase Analytics for Flutter
body: <p>I want to test receiving Firebase Analytics events on my development device. The documentation <a href="https://firebase.google.com/docs/analytics/debugview#ios" rel="noreferrer">here</a> says you need to do this by adding a command line argument to Xcode. </p>
  
  <blockquote>
    <p>To enable Analytics Debug mode on your development device, specify the
    following command line argument in Xcode :</p>
    
    <p><code>-FIRDebugEnabled</code></p>
  </blockquote>
  
  <p>How are you supposed to do this for Flutter? When you're using it through VS Code or via <code>flutter run</code>?</p>
  
  <h3>Update</h3>
  
  <p>I tried following the answer <a href="https://stackoverflow.com/a/43110441/3478500">here</a> but to no avail. I think Flutter uses Xcode build, so perhaps it makes sense that adding the params to the run scheme doesn't work with flutter?</p>
  
  <p>I also tried setting <code>IS_ANALYTICS_ENABLED</code> to true in <code>GoogleService-Info.plist</code>, but also didn't seem to work.</p>
  
  <h2>Update 2</h2>
  
  <p>I've gotten the events to now show up in the Debug Events Console on Firebase, but only if I launch the app from Xcode. If I do so from Flutter it still wont send the events (which is what I'm trying to accomplish).</p>