Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
V

vscode-react-native

> 前端框架
Open source

VSCode extension for React Native - supports debugging and editor integration

2.7K stars0 likes0 views
WebsiteGitHub

About

VSCode extension for React Native - supports debugging and editor integration

React Native Tools

Stable:

Preview:

React Native Tools Preview

The extension has a nightly version which is released on a daily basis at 9 PM PST on each day that changes occur. To avoid conflicts, if both extensions are installed - only stable version will be activated. So to use the preview version it is needed to disable or remove the stable version and reload VS Code.

Package extension locally

You can not only download React Native Tools in the marketplace, but can also package your extension .vsix installation file by yourself locally. Following this documentation to package and install your React Native Tools to get the latest updates.

Building and testing React Native Tools from source requires Node.js 22 or later. This development requirement does not affect the runtime requirements of the installed extension.

About the extension

This VS Code extension provides a development environment for React Native and Expo projects. Using this extension, you can debug your code and quickly run react-native or expo commands from the command palette.

Table of Contents

  • React Native Tools Preview
  • Package extension locally
  • About the extension
  • Getting started
  • React Native commands in the Command Palette
  • Customize metro configuration
  • Debugging React Native applications
    • Hermes engine and direct debugging (Recommended)
    • Attach to Hermes application
    • Android applications
      • Android Hermes Debugging
      • Custom build for android apps
    • iOS applications
      • iOS Hermes debugging
      • iOS devices
      • Custom scheme for iOS apps
      • iOS direct debugging
    • Expo applications
      • Debug on Expo Go
      • Debug on expo-dev-client
      • Debug on Expo Web
      • Configuring Expo
      • Expo Hermes
      • EAS Build initialization
    • Windows applications
      • Windows Hermes debugging
    • MacOS applications
      • MacOS Hermes debugging
    • Monorepo: debug out of React Native project directory
    • Debugger configuration properties
    • Re.Pack and Haul debugging
    • Remote JavaScript Debugging (Deprecated)
  • Customization
    • Sourcemaps
    • Debug in vscode workspace
    • Logging
    • Build APK and generate bundle
    • Specifying custom arguments for react-native run-* command
    • Setting up the React Native packager
    • Change project root
    • Configure an Android LogCat Monitor
    • Configure dependencies versions for debugging Expo projects
    • Security dependency overrides
    • Configure custom key bindings for extension commands
    • Configure custom colors for extension output logs
    • Set pnpm as package manager
  • Network Inspector
  • Developing inside a Docker Container
  • Contributing
  • Known Issues

Getting started

Before going any further make sure that you:

  • have a working React Native environment.
  • have the Android emulator available in your PATH or install iOS simulator in MacOS
  • are using VS Code and have installed this extension from the Marketplace.
  • have your React Native project root folder open in VS Code.
  • have executed React Native: Check development environment configuration or React Native: Run expo doctorcommand to make sure that all necessary softwares are installed correctly.

Please notice that the extension uses .vscode/.react directory at the project root to store intermediate files required for debugging. Although these files usually get removed after debug session ends, you may want to add this directory to your project's .gitignore file.

React Native commands in the Command Palette

In the Command Palette, type React Native and choose a command.

The Run Android or Run iOS command triggers react-native run-android or react-native run-ios to starts your app for Android emulator or iOS simulator.

The Run Expo command triggers expo start and starts your expo application.

The Packager commands allow you to start/stop the Metro Bundler (formerly React Packager).

The full list of commands is:

Name Command ID Description
Launch Android Emulator reactNative.launchAndroidSimulator Prompts you to select the name of the available Android emulator and launch it. If only one emulator is installed in the system, it will be selected automatically
Launch iOS Simulator reactNative.launchIOSSimulator Prompts you to select the available system version of the iOS simulator, then select the simulator name for the selected system and launch it. If only one simulator is installed in the system, it will be selected automatically
Launch ExpoWeb reactNative.launchExpoWeb Check if the current project is an Expo project. If so, launch ExpoWeb.
Run Android on Emulator reactNative.runAndroidSimulator Run an Android application on Emulator. Launch order: check target platform support, load run arguments, start Packager, run app on the selected emulator. Make sure the emulator utility is added to PATH
Run Android on Device reactNative.runAndroidDevice Run an Android application on Device. Launch order: check target platform support, load run arguments, start Packager, run app in all connected devices
Run iOS on Simulator reactNative.runIosSimulator Run an iOS application on Simulator. Launch order: load run arguments, check target platform support, start Packager, run app in only one connected emulator
Run iOS on Device reactNative.runIosDevice Run an iOS application on Device. Launch order: load run arguments, check target platform support, start Packager, run app in only one connected device
Run Expo reactNative.runExponent Run an Exponent application. Launch order: login to exponent, load run arguments, start Packager, run app
Run Windows reactNative.runWindows Run a RNW application. Launch order: check target platform support, load run arguments, start Packager, run app
Run MacOS reactNative.runMacOS Run a RNmacOS application. Launch order: check target platform support, load run arguments, start Packager, run app
Start Packager reactNative.startPackager Start Packager in context project workspace folder
Stop Packager reactNative.stopPackager Stop Packager
Restart Packager reactNative.restartPackager Restart Packager
Clean & Restart Packager (Metro) reactNative.cleanRestartPackager Restart Packager and clear the Packager's cache
Expo - Create EAS config file reactNative.createExpoEASBuildConfigFile Create EAS build config file for Expo projects
Show Dev Menu reactNative.showDevMenu Show development menu for running application on iOS or Android device or emulator
ReloadApp `reactNative.reloadAp

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

TypeScriptdebuggerexpoextensionreact-native

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 17, 2026
Category前端框架
PricingOpen source

> Related tools

R
React
用于构建用户界面的 JavaScript 库
V
Vue.js
渐进式 JavaScript 框架
N
Next.js
基于 React 的全栈 Web 框架