Amazon Developer

as

Settings
Sign out
Notifications
Alexa
Amazon Appstore
Ring
AWS
Documentation
Support
Contact Us
My Cases
Get Started
Design and Develop
Publish
Reference
Support

Debug Your App with Developer Menu Tools

The in-app developer menu provides access to debugging tools, including an element inspector and performance monitor. Use the developer menu to inspect UI elements, monitor frame rates, reload your app, or open a debugger while your app runs on a device or virtual device.

Set up port forwarding

To access the developer menu debugging tools of your app, connect your app to the Metro bundler. To connect your app to the Metro bundler, you must set up port forwarding.

To set up port forwarding

  • Open a command prompt, and run the following command.

    Vega Virtual Device:

    Copied to clipboard.

     vega virtual-device start
    

    The Vega Virtual Device window opens and displays the home screen.

     vega device start-port-forwarding --device <DEVICE_NAME> -p <PORT> --forward false
    

    The terminal displays a confirmation that port forwarding started on the specified port.

    Fire TV Stick:

    Copied to clipboard.

     vega device start-port-forwarding --port 8081
    

    The terminal displays a confirmation that port forwarding started on port 8081.

Start the Metro bundler

Before you start your app, by using the Vega Virtual Device or a Fire TV Stick, start the Metro bundler.

To start the Metro bundler

  • Open a command prompt, and run the following command.

    Copied to clipboard.

     npm start
    

    The Metro bundler loads dependencies and displays its welcome logo.

Start your app

After you start the Metro bundler, you can start your app.

To start your app

  • Follow the instructions to start your app in either the Vega Virtual Device or Fire TV Stick. After your app launches, you see the app's home screen on the device or virtual device.

Debug your app

After you have your app running in either the Vega Virtual Device or Fire TV Stick, you can debug your app.

To debug your app

  1. In the Metro bundler terminal window, press d to open the developer menu in your running app. A modal overlay appears on the device screen listing the available debugging options.

  2. Choose a debugging option:

  • Reload - reloads the app.
  • Open Debugger - opens React Native DevTools (React Native 0.83) or the Flipper debugger (React Native 0.72). You can also access the debugger using Chrome's remote debugger.
  • Show Element Inspector - displays the React's Native element inspector.
  • Disable Fast Refresh - disables hot-reloading of the app after code changes.
  • Configure Bundler - configures the address where the JavaScript bundle is available.
  • Show Perf Monitor - opens the performance monitor.

When you select an option, the developer menu closes and the selected tool activates on the device.


Last updated: Jul 30, 2026