There is an option called connectToDevTools
when instantiate an ApolloClient.
/**
* If `true`, the [Apollo Client Devtools](https://www.apollographql.com/docs/react/development-testing/developer-tooling/#apollo-client-devtools) browser extension can connect to Apollo Client.
*
* The default value is `false` in production and `true` in development (if there is a `window` object).
* @deprecated Please use the `devtools.enabled` option.
*/
connectToDevTools?: boolean;
It mentions production
and development
in code comment. But how can I specify current environment, I haven’t found related doc online.