diff --git a/docs/next/debugging.html b/docs/next/debugging.html index 9d781df2a41..696ad6b1308 100644 --- a/docs/next/debugging.html +++ b/docs/next/debugging.html @@ -81,6 +81,18 @@ YellowBox.ignoreWarnings(['Warning: ...']);

Custom debugger commands executed this way should be short-lived processes, and they shouldn't produce more than 200 kilobytes of output.

+

Safari Developer Tools

+

You can use Safari to debug the iOS version of your app without having to enable "Debug JS Remotely".

+ +

However, there are some disadvantages:

+
    +
  1. No sourcemaps when debugging
  2. +
  3. Every time the app is reloaded (using live reload, or by manually reloading), a new JSContext is created. Choosing "Automatically Show Web Inspectors for JSContexts" saves you from having to select the latest JSContext manually.
  4. +

React Developer Tools

You can use the standalone version of React Developer Tools to debug the React component hierarchy. To use it, install the react-devtools package globally:

npm install -g react-devtools
diff --git a/docs/next/debugging/index.html b/docs/next/debugging/index.html
index 9d781df2a41..696ad6b1308 100644
--- a/docs/next/debugging/index.html
+++ b/docs/next/debugging/index.html
@@ -81,6 +81,18 @@ YellowBox.ignoreWarnings(['Warning: ...']);
 

Custom debugger commands executed this way should be short-lived processes, and they shouldn't produce more than 200 kilobytes of output.

+

Safari Developer Tools

+

You can use Safari to debug the iOS version of your app without having to enable "Debug JS Remotely".

+ +

However, there are some disadvantages:

+
    +
  1. No sourcemaps when debugging
  2. +
  3. Every time the app is reloaded (using live reload, or by manually reloading), a new JSContext is created. Choosing "Automatically Show Web Inspectors for JSContexts" saves you from having to select the latest JSContext manually.
  4. +

React Developer Tools

You can use the standalone version of React Developer Tools to debug the React component hierarchy. To use it, install the react-devtools package globally:

npm install -g react-devtools