ssionStorage = sessionStorage.getItem("debug-host")

      const host = debugHost || debugHostInSessionStorage || "http://localhost:2233"
      if (debugHost) {
        sessionStorage.setItem("debug-host", debugHost)
      }

      const createRefreshRuntimeScript = `
      import RefreshRuntime from "${host}/@react-refresh";
      RefreshRuntime.injectIntoGlobalHook(window);
      window.$RefreshReg$ = () => {};
      window.$RefreshSig$ = () => (type) => type;
      window.__vite_plugin_react_preamble_ins