If you have more than one copy of React DevTools installed and enabled (e.g. the version in the Chrome store and a locally built version) they can interfere with each other.

DevTools should detect this case and warn by showing a dialog in the DevTools UI and/or by logging to the console.

Note that we _should not warn_ if a related tool like Fast Refresh is present, only another copy of DevTools.
const port = chrome.runtime.connect({
            name: String(tabId),
          });
          
          
          bridge = new Bridge({
            listen(fn) {
              const listener = message => fn(message);
              
              const portOnMessage = port.onMessage;
              portOnMessage.addListener(listener);
              return () => {
                portOnMessage.removeListener(listener);
              };
            },
            send(event: string, payload: any, transferable?: Array<any>) {
              port.postMessage({event, payload}, transferable);
            },
          });
          bridge.addListener('reloadAppForProfiling', () => {
            localStorageSetItem(LOCAL_STORAGE_SUPPORTS_PROFILING_KEY, 'true');
            chrome.devtools.inspectedWindow.eval('window.location.reload();');
          });
          bridge.addListener('syncSelectionToNativeElementsPanel', () => {
            setBrowserSelectionFromReact();
          });