I'm on macOS Sierra using react native 0.42.3:
I start my app using react-native run-ios
, then press Cmd-D and I select "Debug JS Remotely". After that, a new Chrome Tab is opened, and by switching into the dev tools I see my console with every outputs so far.
The problem is: When I reload my app, while the debugger is open, it crashes with the infamous red screen saying "Runtime is not ready for debugging".
I found a lot of posts about debugging with react native, but nothing seems to address the problem when you try to reload it.
React is one of the fastest-growing front-end frameworks. It makes creating complex and interactive UIs painless. Like other frameworks, it has a debugging toolset called React development tools.
Runtime debugging involves inspecting the state of a running application, potentially pausing execution at certain points so that the contents of variables in memory can be inspected.
These solutions both work:
Hardware -> Erase All Content and Settings
(Update credit to @Form and @John)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With