add debugging native code

Summary:
I believe it is beneficial to explicitly state that this is possible.
Closes https://github.com/facebook/react-native/pull/8543

Differential Revision: D3663264

Pulled By: hramos

fbshipit-source-id: cb95e31d8c1d2d38929dac3e3bfda26aa6054a11
This commit is contained in:
Vojtech Novak 2016-08-03 11:27:03 -07:00 committed by Facebook Github Bot 5
parent 0fdbfb029e
commit 2fe5573492
1 changed files with 4 additions and 0 deletions

View File

@ -132,6 +132,10 @@ The debugger will receive a list of all project roots, separated by a space. For
5. In a new chrome tab, open : ```chrome://inspect```, click on 'Inspect device' (the one followed by "Powered by Stetho") 5. In a new chrome tab, open : ```chrome://inspect```, click on 'Inspect device' (the one followed by "Powered by Stetho")
## Debugging native code
When working with native code (e.g. when writing native modules) you can launch the app from Android Studio or Xcode and take advantage of the debugging features (setup breakpoints, etc.) as you would in case of building a standard native app.
## Performance Monitor ## Performance Monitor
You can enable a performance overlay to help you debug performance problems by selecting "Perf Monitor" in the Developer Menu. You can enable a performance overlay to help you debug performance problems by selecting "Perf Monitor" in the Developer Menu.