gcloud debug snapshots describe - describe the debug snapshots for a Cloud Debugger debug target (debuggee)
gcloud debug snapshots describe [ID ...] [--location=LOCATION-REGEXP] [--target=(ID|DESCRIPTION_REGEXP)] [GCLOUD_WIDE_FLAG ...]
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.
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:.*"
- [ID ...]
Zero or more snapshot resource identifiers. The specified snapshots will be displayed.
- --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.
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.
This variant is also available:
$ gcloud beta debug snapshots describe