I had a component that I know was breaking, but I didn't know why. My solution was to run this component inside a useEffect(() => setTimeout(() => renderComponent(), xx), []).
With this, I was able to capture the thrown error in the browser.
Argh you React for swallowing errors !