Debug
Debug
點擊Genymotion的Debug JS remote時常會開不了。
所以推薦用此模組: https://github.com/jhen0409/react-native-debugger/blob/master/docs/getting-started.md
1.記得先關掉原本的 Debug JS Remotely
2.輸入 open "rndebugger://set-debugger-loc?host=localhost&port=8081"
3.點選 Genymotion 的 Debug JS Remotely
2.簡單看Log
react-native log-android
或是
react-native log-ios
Last updated
Was this helpful?