From b9da155fd8d555828bcfe0e1a268900e56281f4e Mon Sep 17 00:00:00 2001 From: Steffen Forkmann Date: Mon, 9 Oct 2017 21:48:36 -0700 Subject: [PATCH] Document adb shell input keyevent 82 Summary: This information could be found already in older docs see https://facebook.github.io/react-native/releases/0.21/docs/running-on-device-android.html#accessing-development-server-from-device. It is missing from latest. I think it's important alternative since shaking my device all the time borked my USB port Closes https://github.com/facebook/react-native/pull/16241 Differential Revision: D6017905 Pulled By: shergin fbshipit-source-id: 9426b4068a6bc60aed50f85b2f596d0494def52a --- docs/Debugging.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/Debugging.md b/docs/Debugging.md index a76f72da6..3a5a5fe82 100644 --- a/docs/Debugging.md +++ b/docs/Debugging.md @@ -14,7 +14,7 @@ React Native supports a few keyboard shortcuts in the iOS Simulator. They are de ## Accessing the In-App Developer Menu -You can access the developer menu by shaking your device or by selecting "Shake Gesture" inside the Hardware menu in the iOS Simulator. You can also use the `⌘D` keyboard shortcut when your app is running in the iOS Simulator, or `⌘M` when running in an Android emulator. +You can access the developer menu by shaking your device or by selecting "Shake Gesture" inside the Hardware menu in the iOS Simulator. You can also use the `⌘D` keyboard shortcut when your app is running in the iOS Simulator, or `⌘M` when running in an Android emulator. Alternatively for Android, you can run the command `adb shell input keyevent 82` to open the dev menu (82 being the Menu key code). ![](img/DeveloperMenu.png)