title: How to debug errors like "Maximum call stack size exceeded"
body: <p>I've an Ionic/angular project that I paused for a while. I resumed working on it, but I've an error coming in the console. The user effect is that nothing is displayed for 10-15 seconds, then my google is loaded, but then I see no disfunction.</p>
  <pre><code>core.js:4197 ERROR RangeError: Maximum call stack size exceeded
      at MapSubscriber._error (Subscriber.js:75)
      at MapSubscriber.error (Subscriber.js:55)
      at MergeMapSubscriber.notifyError (OuterSubscriber.js:7)
      at InnerSubscriber._error (InnerSubscriber.js:14)
      at InnerSubscriber.error (Subscriber.js:55)
      at CatchSubscriber._error (Subscriber.js:75)
      at CatchSubscriber.error (Subscriber.js:55)
      at CatchSubscriber.error (catchError.js:32)
      at MergeMapSubscriber.notifyError (OuterSubscriber.js:7)
      at InnerSubscriber._error (InnerSubscriber.js:14)
  </code></pre>
  <p>I've searched a bit, I've updated from angular 10 to angular 11, updated all the libraries, found quite a lot of answers on stackoverflow, including this one
  <a href="https://stackoverflow.com/questions/53756451/angular-7-error-rangeerror-maximum-call-stack-size-exceeded">Angular 7 error RangeError: Maximum call stack size exceeded</a></p>
  <p>But I've no idea where area would cause the issue.</p>
  <p>I tried to comment everything on the <code>ngOnInit</code>/<code>constructor</code> of the page I'm on, without any success.</p>
  <p><strong>How can I find the rootcause of such error?</strong> I'm really lost and I don't know what to do, this just freeze my app for 10-15 seconds then crashes.</p>
  <p>I've a firebase timeout just after this, but I guess it's because angular was to busy to handle this call-stack issue.</p>