From 2fe55734921d07952e4c5cbf78af5f2a8b3ea31c Mon Sep 17 00:00:00 2001 From: Vojtech Novak Date: Wed, 3 Aug 2016 11:27:03 -0700 Subject: [PATCH] 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 --- docs/Debugging.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/Debugging.md b/docs/Debugging.md index 9e9027702..be74844f7 100644 --- a/docs/Debugging.md +++ b/docs/Debugging.md @@ -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") +## 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 You can enable a performance overlay to help you debug performance problems by selecting "Perf Monitor" in the Developer Menu.