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.
return new Promise(resolve => {
    chrome.runtime.sendMessage(
      extensionId,
      EXTENSION_INSTALL_CHECK_MESSAGE,
      response => {
        if (__DEBUG__) {
          console.log(
            'checkForDuplicateInstallations: Duplicate installation check responded with',
            {
              response,
              error: chrome.runtime.lastError?.message,
              currentExtension: EXTENSION_INSTALLATION_TYPE,
              checkingExtension: extensionId,
            },
          );
        }
        if (chrome.runtime.lastError != null) {
          resolve(false);
        } else {
          resolve(true);
        }
      },
    );
  });
}