(config)
| 129 | // so WebSocket/SSE connections share the same TLS certificate |
| 130 | ...(isHttps && server.httpServer |
| 131 | ? { httpServer: server.httpServer } |
| 132 | : {}), |
| 133 | }) |
| 134 | // start() now handles EADDRINUSE and returns the actual port |
| 135 | devtoolsPort = await bus.start() |
| 136 | if ((server as any).environments) { |