1
0
Fork 0
mirror of https://github.com/imjasonh/gcloud-help synced 2026-07-08 10:35:03 +00:00
gcloud-help/gcloud/debug/snapshots/describe
2022-03-01 04:29:52 +00:00

63 lines
2.3 KiB
Text

NAME
gcloud debug snapshots describe - describe the debug snapshots for a Cloud
Debugger debug target (debuggee)
SYNOPSIS
gcloud debug snapshots describe [ID ...] [--location=LOCATION-REGEXP]
[--target=(ID|DESCRIPTION_REGEXP)] [GCLOUD_WIDE_FLAG ...]
DESCRIPTION
gcloud 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 debug snapshots describe ID1 ID2 --target=<debuggee_id>
To describe all active snapshots in file main.py of the debug target
(debuggee), run:
$ gcloud 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 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 variant is also available:
$ gcloud beta debug snapshots describe