public static Debugger getShortTimeoutClient(final @Nullable String userEmail) { return getClient(userEmail, SHORT_CONNECTION_TIMEOUT_MS); }
public static Debugger getLongTimeoutClient(final @Nullable String userEmail) { return getClient(userEmail, LONG_CONNECTION_TIMEOUT_MS); }
/** * Returns a cloud debugger connection given {@link CloudDebugProcessState} to indicate the * credentials to use. The function may return null if the user is not logged in. TODO: Create a * better experience attaching when not logged in TODO: Handle cases where the user logs out in * the middle of a debug session. */ @Nullable public static Debugger getLongTimeoutClient(final @NotNull CloudDebugProcessState state) { return getClient(state.getUserEmail(), LONG_CONNECTION_TIMEOUT_MS); }
public static Debugger getShortTimeoutClient(final @NotNull CloudDebugProcessState state) { return getClient(state.getUserEmail(), SHORT_CONNECTION_TIMEOUT_MS); }