GCLOUD_DEBUG(1)

NAME

gcloud debug - commands for interacting with the Cloud Debugger

SYNOPSIS

gcloud debug GROUP [GLOBAL-FLAG ...]

DESCRIPTION
The gcloud debug command group provides interaction with Stackdriver Debugger, allowing you to list and manipulate debugging targets, snapshots and logpoints. Stackdriver Debugger is a feature of the Google Cloud Platform that lets you inspect the state of an application at any code location without using logging statements and without stopping or slowing down your applications. More information on Stackdriver Debugger can be found here: https://cloud.google.com/debugger and detailed documentation can be found here: https://cloud.google.com/debugger/docs/

GLOBAL FLAGS
Run $ gcloud help for a description of flags available to all commands.

GROUPS
GROUP is one of the following:

    logpoints
        Commands for interacting with Cloud Debugger logpoints.

    snapshots
        Commands for interacting with Cloud Debugger snapshots.

    source
        Commands to manage source information for Stackdriver tools.

    targets
        Commands for interacting with Cloud Debugger debug targets.

EXAMPLES
To view all available debug targets, run:
    $ gcloud debug targets list
    NAME ID DESCRIPTION default-test gcp:1234:5678 myproject-test-9876543 default-test2 gcp:9012:3456 myproject-test2-1234567
To create a snapshot in a for a particular target:
    $ gcloud debug snapshots create --target=default-test foo.py:12
Note that if there is not a target with the exact name or ID specified, the target is treated as a regular expression to match against the name or description:
    $ gcloud debug snapshots create --target=test foo.py:12
    ERROR: (gcloud.beta.debug.snapshots.create) Multiple possible targets found. Use the --target option to select one of the following targets:
        default-test
        default-test2
    In the above case, "test" matches both targets' names. Specifying 'test$' would match only "default-test" (by name), while "9876" would match "default-test" by description.