Skip to content
This repository has been archived by the owner on Apr 20, 2022. It is now read-only.

Latest commit

 

History

History
28 lines (14 loc) · 1.17 KB

DEBUGGING_TOOLS_IOS.md

File metadata and controls

28 lines (14 loc) · 1.17 KB

Debugging Tools and Tips

Go back to Working with react-native-router-flux

In the iOS simulator press Command+D to get the simulator debugger window (Command+M for Android)

alt text

There is a very similar menu in Android. When you turn on "Remote debugging" in iOS the chrome tools will launch, in android you may have to launch them yourself http://localhost:8081/debugger-ui

This will open a browser debugger:

alt text

Click "Command + alt + j" to open the developer log. Then click on the "console" log to view the logging from the app.

HTTP/Ajax/XHR requests are hard to debug in simulators, since the requests go through proxy simulators. In src/js/config.js if you enable LOG_NATIVE_HTTP_REQUESTS to true, much of the request info will end up in the console log in the debugger.


Next: Issues and Reporting Bugs

Go back to Readme Home