mirror of
https://github.com/imjasonh/gcloud-help
synced 2026-07-09 02:55:19 +00:00
69 lines
2.5 KiB
Text
69 lines
2.5 KiB
Text
NAME
|
|
gcloud beta debug snapshots describe - describe the debug snapshots for a
|
|
Cloud Debugger debug target (debuggee)
|
|
|
|
SYNOPSIS
|
|
gcloud beta debug snapshots describe [ID ...] [--location=LOCATION-REGEXP]
|
|
[--target=(ID|DESCRIPTION_REGEXP)] [GCLOUD_WIDE_FLAG ...]
|
|
|
|
DESCRIPTION
|
|
(BETA) (DEPRECATED) Cloud Debugger is deprecated and will be shutdown May
|
|
31, 2023.
|
|
|
|
See: https://cloud.google.com/debugger/docs/deprecations
|
|
|
|
gcloud beta debug snapshots describe is used to describe the debug
|
|
snapshots for a Cloud Debugger debug target (debuggee). If the snapshot has
|
|
completed, the output will include details on the stack trace and local
|
|
variables, stored in a compact form which is primarily intended to be
|
|
machine-readable rather than human-readable.
|
|
|
|
EXAMPLES
|
|
To describe the debug snapshots for snapshots with IDs 'ID1' and 'ID2' of
|
|
the debug target (debuggee), run:
|
|
|
|
$ gcloud beta debug snapshots describe ID1 ID2 --target=<debuggee_id>
|
|
|
|
To describe all active snapshots in file main.py of the debug target
|
|
(debuggee), run:
|
|
|
|
$ gcloud beta debug snapshots describe --target=<debuggee_id> \
|
|
--location="main.py:.*"
|
|
|
|
POSITIONAL ARGUMENTS
|
|
[ID ...]
|
|
Zero or more snapshot resource identifiers. The specified snapshots
|
|
will be displayed.
|
|
|
|
FLAGS
|
|
--location=LOCATION-REGEXP
|
|
A regular expression to match against snapshot locations. All snapshots
|
|
matching this value will be displayed. You may specify --location
|
|
multiple times.
|
|
|
|
EXAMPLE:
|
|
|
|
gcloud beta debug snapshots describe \
|
|
--location foo.py:[1-3] --location bar.py:4
|
|
|
|
--target=(ID|DESCRIPTION_REGEXP)
|
|
The debug target. It may be a target ID or name obtained from 'debug
|
|
targets list', or it may be a regular expression uniquely specifying a
|
|
debuggee based on its description or name. For App Engine projects, if
|
|
not specified, the default target is the most recent deployment of the
|
|
default module and version.
|
|
|
|
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 $ gcloud help for details.
|
|
|
|
NOTES
|
|
This command is currently in beta and might change without notice. This
|
|
variant is also available:
|
|
|
|
$ gcloud debug snapshots describe
|
|
|