title: How to see error message in react-native ios release build?
body: <p>I'm trying to debug an error that only pops up only in my release build. I'm running the app directly through xcode (and this applies to both simulator and real-device builds.) When I run the app and perform the actions that reliably produce the error, I can see that there was an error (and the stack trace) in xcode's console output. What I can't see is the error message.</p>
  
  <p>Even if I manually add <code>throw new Error('Its broken!')</code> somewhere and trigger that, I can't see the error message. This makes doing any sort of debugging in the release build problematic.</p>
  
  <p>I'm looking for a way to at least see error messages and ideally some tips on how to debug or step-through javascript code in the release build.</p>
  
  <p>Example stack trace: <a href="https://gist.github.com/cpsubrian/6d7e9d7745fff10d2ab203bc5a357576" rel="nofollow">https://gist.github.com/cpsubrian/6d7e9d7745fff10d2ab203bc5a357576</a></p>
  
  <p>Note: The error in question is triggered by a particular call to <code>realm.create()</code> (realm-js), but I'm not sure how I can inspect/debug the params that are causing the error or the error itself.</p>