File: //snap/google-cloud-cli/current/help/man/man1/gcloud_app_instances_disable-debug.1
.TH "GCLOUD_APP_INSTANCES_DISABLE\-DEBUG" 1
.SH "NAME"
.HP
gcloud app instances disable\-debug \- disable debug mode for an instance
.SH "SYNOPSIS"
.HP
\f5gcloud app instances disable\-debug\fR [\fIINSTANCE\fR] [\fB\-\-service\fR=\fISERVICE\fR,\ \fB\-s\fR\ \fISERVICE\fR] [\fB\-\-version\fR=\fIVERSION\fR,\ \fB\-v\fR\ \fIVERSION\fR] [\fIGCLOUD_WIDE_FLAG\ ...\fR]
.SH "DESCRIPTION"
When not in debug mode, SSH will be disabled on the VMs. They will be included
in the health checking pools.
Note that any local changes to an instance will be \fBlost\fR if debug mode is
disabled on the instance. New instance(s) may spawn depending on the app's
scaling settings.
.SH "EXAMPLES"
To disable debug mode for a particular instance, run:
.RS 2m
$ gcloud app instances disable\-debug \-\-service=s1 \-\-version=v1 i1
.RE
To disable debug mode for an instance chosen interactively, run:
.RS 2m
$ gcloud app instances disable\-debug
.RE
.SH "POSITIONAL ARGUMENTS"
.RS 2m
.TP 2m
[\fIINSTANCE\fR]
The instance ID to disable debug mode on. If not specified, select instance
interactively. Must uniquely specify (with other flags) exactly one instance
.RE
.sp
.SH "FLAGS"
.RS 2m
.TP 2m
\fB\-\-service\fR=\fISERVICE\fR, \fB\-s\fR \fISERVICE\fR
If specified, only match instances belonging to the given service. This affects
both interactive and non\-interactive selection.
.TP 2m
\fB\-\-version\fR=\fIVERSION\fR, \fB\-v\fR \fIVERSION\fR
If specified, only match instances belonging to the given version. This affects
both interactive and non\-interactive selection.
.RE
.sp
.SH "GCLOUD WIDE FLAGS"
These flags are available to all commands: \-\-access\-token\-file, \-\-account,
\-\-billing\-project, \-\-configuration, \-\-flags\-file, \-\-flatten,
\-\-format, \-\-help, \-\-impersonate\-service\-account, \-\-log\-http,
\-\-project, \-\-quiet, \-\-trace\-token, \-\-user\-output\-enabled,
\-\-verbosity.
Run \fB$ gcloud help\fR for details.
.SH "NOTES"
This variant is also available:
.RS 2m
$ gcloud beta app instances disable\-debug
.RE