Issue
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.
Solution
Indeed this seems to be a weird error that does not want to go away. Never fixed it on my mac either.
I just use this : https://github.com/jhen0409/react-native-debugger Nowadays and it works like a charm.
I know it does not "fix" your problem, but its a really good alternative and it works like a charm.
Answered By - WilomGfx
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.