title: ChromeProxyService: Failed to evaluate expression 'FirebaseAuth.instance.useAuthEmulator'
body: <p>I'm trying to develop a Flutter app and run it from Chrome instance. This app uses firebase emulator for the development purpose but somehow when I make changes to any code and when Flutter tries to reload the app, it paused the debug session and point me to the error.</p>
  <p><a href="https://i.stack.imgur.com/CHPYp.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/CHPYp.png" alt="an image of a debugger pointing to the error" /></a></p>
  <p>However, it doesn't show any details about the error in the debug console other than this</p>
  <pre><code>Restarted application in 774ms.
  [GETX] Instance &quot;LoggerService&quot; has been created
  [GETX] Instance &quot;LoggerService&quot; has been initialized
  [GETX] Instance &quot;AuthService&quot; has been created
  [GETX] Instance &quot;AuthService&quot; has been initialized
  [2022-04-14T16:06:38.386Z]  @firebase/firestore:
  ChromeProxyService: Failed to evaluate expression 'FirebaseAuth.instance.useAuthEmulator': InternalError: No frame with index 46.
  ChromeProxyService: Failed to evaluate expression 'async': InternalError: No frame with index 46.
  ChromeProxyService: Failed to evaluate expression 'FirebaseFirestore.instance.useFirestoreEmulator': InternalError: No frame with index 46.
  </code></pre>
  <p>I tried several things including:</p>
  <ol>
  <li>Restarting the emulator suite using <code>0.0.0.0</code> and set the app to point out to said host</li>
  <li>Changing <code>10.0.2.2</code> to my computer's IP address (<code>192.168.x.x</code>)</li>
  <li>Using <code>localhost</code> instead of <code>10.0.2.2</code> as pointed on the <a href="https://firebase.flutter.dev/docs/auth/start" rel="nofollow noreferrer">documentation</a></li>
  </ol>
  <p>But this still happening everytime I hit <code>ctrl + S</code>.</p>
  <p>I did not modify anything in the emulator script, it was a fresh install. How can I fix this?</p>