NAME

gcloud debug source gen-repo-info-file - generates repository information files for the Cloud Debugger

SYNOPSIS

gcloud debug source gen-repo-info-file [--output-directory=OUTPUT_DIRECTORY; default="."] [--source-directory=SOURCE_DIRECTORY; default="."] [GCLOUD_WIDE_FLAG ...]

DESCRIPTION

This command generates a file named source-context.json containing information on the source revision and remote repository associated with the given source directory.

EXAMPLES

To generate repository information files for your app, from your source directory run:

$ gcloud debug source gen-repo-info-file

FLAGS

--output-directory=OUTPUT_DIRECTORY; default="."

The directory in which to create the source context file.

--source-directory=SOURCE_DIRECTORY; default="."

The directory containing the source code for the build.

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 source gen-repo-info-file