For moderators: this is a 1st stackoverflow result in google for this topic thats why it needs an update.

Answer after a lot of research:

I've been long trying to finally fix this issue. The solution works for vite bundler in versions 2.9.5 through 5.2.11 (the last one i tested) with Manifest V3 Google Chrome (v125 2024).

Complete code: https://github.com/Toumash/crxjs-vite-plugin-react-devtools (feel free to clone)

Use import 'react-devtools'; in your content_script entry and use devtools as a standalone app - as you pointed out the react devtools chrome extension cannot communicate with other extension (the one you're developing)

Improvements:

  1. To not bundle this package into production extension build use a conditionally imported file. I've added the following into my package.json
{
...
 "imports": {
    "#env-import/*.ts": {
      "development": "./src/*.dev.ts",
      "production": "./src/*.prod.ts"
    }
  }
...
}
  1. Add a file devtools.dev.ts containing only the import 'react-devtools';.
  2. Add a file devtools.prod.ts with nothing in it (empty file)
  3. In your content_scripts/index.ts add import '#env-import/devtools.ts'; to conditionally import the devtools script
  4. Install react-devtools standalone package npm i -D react-devtools
  5. Add react-devtools to the npm scripts section "react-devtools": "react-devtools",
  6. Now you can finally just run your extension and npm run react-devtools and it works

Original (mine) answer on Github

Answer from Toumash on Stack Overflow
๐ŸŒ
Chrome Web Store
chromewebstore.google.com โ€บ detail โ€บ react-developer-tools โ€บ fmkadmapgofadopljbjfkapdkoienihi
React Developer Tools - Chrome Web Store
React Developer Tools is a Chrome DevTools extension for the open-source React JavaScript library. It allows you to inspect the React component hierarchies in the Chrome Developer Tools.
๐ŸŒ
React
react.dev โ€บ learn โ€บ react-developer-tools
React Developer Tools โ€“ React
Use React Developer Tools to inspect React components, edit props and state, and identify performance problems.
๐ŸŒ
Mozilla Add-ons
addons.mozilla.org โ€บ en-US โ€บ firefox โ€บ addon โ€บ react-devtools
React Developer Tools โ€“ Get this Extension for ๐ŸฆŠ Firefox (en-US)
February 7, 2025 - Download React Developer Tools for Firefox. React Developer Tools is a tool that allows you to inspect a React tree, including the component hierarchy, props, state, and more. To get started, just open the Firefox devtools and switch to the ...
Rating: 4.6 โ€‹ - โ€‹ 373 votes
๐ŸŒ
Medium
medium.com โ€บ @pkellner โ€บ using-the-react-debugger-extension-7ea0bcbf2b50
Using the React Developer Extension | by Peter Kellner | Medium
June 3, 2020 - The Facebook React team builds and supports a browser-based extension for Chrome and Firefox that gives us developers a clear view into whatโ€™s happening in our running browser based React apps.
Top answer
1 of 2
1

For moderators: this is a 1st stackoverflow result in google for this topic thats why it needs an update.

Answer after a lot of research:

I've been long trying to finally fix this issue. The solution works for vite bundler in versions 2.9.5 through 5.2.11 (the last one i tested) with Manifest V3 Google Chrome (v125 2024).

Complete code: https://github.com/Toumash/crxjs-vite-plugin-react-devtools (feel free to clone)

Use import 'react-devtools'; in your content_script entry and use devtools as a standalone app - as you pointed out the react devtools chrome extension cannot communicate with other extension (the one you're developing)

Improvements:

  1. To not bundle this package into production extension build use a conditionally imported file. I've added the following into my package.json
{
...
 "imports": {
    "#env-import/*.ts": {
      "development": "./src/*.dev.ts",
      "production": "./src/*.prod.ts"
    }
  }
...
}
  1. Add a file devtools.dev.ts containing only the import 'react-devtools';.
  2. Add a file devtools.prod.ts with nothing in it (empty file)
  3. In your content_scripts/index.ts add import '#env-import/devtools.ts'; to conditionally import the devtools script
  4. Install react-devtools standalone package npm i -D react-devtools
  5. Add react-devtools to the npm scripts section "react-devtools": "react-devtools",
  6. Now you can finally just run your extension and npm run react-devtools and it works

Original (mine) answer on Github

2 of 2
-1

In manifest v3 it's afaik not possible to use a remote script (even though the docs suggest otherwise).

What you can do instead is include the script from the standalone devtools in your extension files.

So instead of including: <script src="http://localhost:8097"></script> as the docs describe, open that url in your browser, save the JS as file in your chrome extension folder, then include that file. For example <script src="/react-devtools.js"></script>.

Once you have done that the devtools will show in the standalone app.

๐ŸŒ
npm
npmjs.com โ€บ package โ€บ react-devtools
react-devtools - npm
You can find it by opening Settings > Extensions: Or you could develop with a local HTTP server like serve. The React tab won't show up if the site doesn't use React, or if React can't communicate with the devtools. When the page loads, the devtools sets a global named __REACT_DEVTOOLS_GLOBAL_HOOK__, then React communicates with that hook during initialization.
      ยป npm install react-devtools
    
Published ย  Oct 20, 2025
Version ย  7.0.1
๐ŸŒ
Softonic
react-developer-tools.en.softonic.com โ€บ home โ€บ web browsers โ€บ browsers โ€บ google chrome โ€บ react developer tools
React Developer Tools for Google Chrome - Extension Download
October 25, 2025 - React Developer Tools for Chrome, free and safe download. React Developer Tools latest version: React Developer Tools - New Tab Extension For Chrome.
Rating: 8.8/10 โ€‹ - โ€‹ 1 votes
Find elsewhere
๐ŸŒ
DebugBear
debugbear.com โ€บ blog โ€บ react-devtools
Getting Started with React DevTools in Chrome | DebugBear
December 1, 2025 - React Developer Tools is a powerful Chrome extension that helps debug your React app.
๐ŸŒ
React Native
reactnative.dev โ€บ docs โ€บ react-native-devtools
React Native DevTools ยท React Native
February 20, 2026 - React Native DevTools is our modern debugging experience for React Native. Purpose-built from the ground up, it aims to be fundamentally more integrated, correct, and reliable than previous debugging methods.
๐ŸŒ
GitHub
github.com โ€บ facebook โ€บ react-devtools
GitHub - facebook/react-devtools: An extension that allows inspection of React component hierarchy in the Chrome and Firefox Developer Tools. ยท GitHub
An extension that allows inspection of React component hierarchy in the Chrome and Firefox Developer Tools. - facebook/react-devtools
Starred by 11K users
Forked by 1.8K users
๐ŸŒ
GitHub
github.com โ€บ facebook โ€บ react โ€บ blob โ€บ main โ€บ packages โ€บ react-devtools โ€บ README.md
react/packages/react-devtools/README.md at main ยท facebook/react
You can find it by opening Settings > Extensions: Or you could develop with a local HTTP server like serve. The React tab won't show up if the site doesn't use React, or if React can't communicate with the devtools. When the page loads, the devtools sets a global named __REACT_DEVTOOLS_GLOBAL_HOOK__, then React communicates with that hook during initialization.
Author ย  facebook
๐ŸŒ
Zipy
zipy.ai โ€บ blog โ€บ react-devtool-extension
How to use React Developer Tools extensions
December 6, 2024 - With the React Devtools extension, developers can easily inspect and manipulate the state and props of components, analyze component hierarchies, and track component updates in real-time.
๐ŸŒ
Chrome Web Store
chromewebstore.google.com โ€บ detail โ€บ react-inspector โ€บ gkkcgbepkkhfnnjolcaggogkjodmlpkh
React Inspector - Chrome Web Store
A Chrome extension for time travel debugging and performance monitoring in React applications. ... Average rating 3.4 out of 5 stars. Learn more about results and reviews. Option+Click React components in your browser to instantly open the source ...
๐ŸŒ
GeeksforGeeks
geeksforgeeks.org โ€บ what-is-react-developer-tool
React Developer Tools - GeeksforGeeks
February 14, 2025 - React Developer Tools (React DevTools) is a browser extension that helps developers inspect, debug, and analyze React applications more easily.
๐ŸŒ
Educative
educative.io โ€บ answers โ€บ how-to-use-react-developer-tool
How to use React Developer Tool
To get started, you need to install React Developer Tools as a browser extension. It is available for Chrome, Firefox, and Edge.
๐ŸŒ
Chrome Web Store
chromewebstore.google.com โ€บ detail โ€บ react-context-devtool โ€บ oddhnidmicpefilikhgeagedibnefkcf
React Context DevTool - Chrome Web Store
React Context DevTool is debugging tool for React Context and useReducer API. You can easily show context values changes in different views like tree, raw and diff view. Now Devtool suppoer useReducer API. easily debug your state changes and ...
๐ŸŒ
Mozilla Add-ons
addons.mozilla.org โ€บ en-US โ€บ android โ€บ addon โ€บ react-devtools
React Developer Tools โ€“ Get this Extension for ๐ŸฆŠ Firefox Android (en-US)
February 7, 2025 - Download React Developer Tools for Firefox. React Developer Tools is a tool that allows you to inspect a React tree, including the component hierarchy, props, state, and more. To get started, just open the Firefox devtools and switch to the ...
Rating: 4.6 โ€‹ - โ€‹ 373 votes
๐ŸŒ
GitConnected
levelup.gitconnected.com โ€บ top-10-chrome-extensions-for-react-web-developers-a3dc7bee5fff
Top 10 Chrome Extensions for React and Web Developers | by Ayush Tibra | Level Up Coding
August 11, 2022 - Weโ€™ll start with the obvious pick, one of the most popular tools for React dev, React Dev Tools for Chrome which has recently released its 4th version ๐Ÿš€ and was last updated on 14th July 2022 with a minimal size of 1.7MB.
๐ŸŒ
FullStack
fullstack.com โ€บ labs โ€บ resources โ€บ blog โ€บ top-5-vs-code-extensions-for-a-react-developer
Top 5 VS Code Extensions for React Developers | FullStack Blog
October 1, 2025 - It allows developers to quickly navigate through their logs and easily spot errors or inconsistencies in their code. ES7 + React Snippets is probably the most used extension for React developers.