8.2.34 | Linux | www-data (uid:33)
👁 View: debug.py
📁 //snap/google-cloud-cli/current/lib/surface/meta/debug.py
# -*- coding: utf-8 -*- # # Copyright 2016 Google LLC. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. """The `gcloud meta debug` command.""" from googlecloudsdk.calliope import base from googlecloudsdk.command_lib.meta import debug class Debug(base.Command): """Run an interactive debug console with the Cloud SDK libraries loaded. This command runs an interactive console with the Cloud SDK libraries loaded. It's useful for: * Manually testing out an API. * Exploring available Cloud SDK core libraries. * Debugging specific problems. It comes with many utilities pre-loaded in the environment: * All API clients loaded with one command (`LoadApis()`). Then, for instance, `appengine` refers to the App Engine API client. * Many common Cloud SDK imports pre-imported (e.g. core.util.files, console_io, properties). Use `dir()` to explore them all. """ @staticmethod def Args(parser): parser.add_argument( '--mode', choices=sorted(debug.CONSOLES.keys()), default='python', help='The debug console mode to run in.') def Run(self, args): debug.CONSOLES[args.mode]()
← Back
💻 Terminal
📤 Upload
📂
Click or Drag & Drop
📁 //snap/google-cloud-cli/current/lib/surface/meta
NameSizePermModifiedActions
📁 __pycache__/-07752026-09-29 12:17🗑 Delete
📁 apis/-07752026-09-29 12:17🗑 Delete
📁 cache/-07752026-09-29 12:17🗑 Delete
📁 cli_trees/-07752026-09-29 12:17🗑 Delete
📁 resource_maps/-07752026-09-29 12:17🗑 Delete
📁 resources/-07752026-09-29 12:17🗑 Delete
__init__.py897B06441980-01-01 08:00👁 View ✏️ Edit 📝 Rename 📦 Move 🗑 Del
check_import.py1.6K06441980-01-01 08:00👁 View ✏️ Edit 📝 Rename 📦 Move 🗑 Del
daemon.py9.6K06441980-01-01 08:00👁 View ✏️ Edit 📝 Rename 📦 Move 🗑 Del
debug.py1.6K06441980-01-01 08:00👁 View ✏️ Edit 📝 Rename 📦 Move 🗑 Del
gcloud_command_vocabulary.txt1.8K06441980-01-01 08:00👁 View ✏️ Edit 📝 Rename 📦 Move 🗑 Del
generate_config_commands.py2.8K06441980-01-01 08:00👁 View ✏️ Edit 📝 Rename 📦 Move 🗑 Del
generate_help_docs.py7K06441980-01-01 08:00👁 View ✏️ Edit 📝 Rename 📦 Move 🗑 Del
lint.py9.2K06441980-01-01 08:00👁 View ✏️ Edit 📝 Rename 📦 Move 🗑 Del
lint_gcloud_commands.py17.5K06441980-01-01 08:00👁 View ✏️ Edit 📝 Rename 📦 Move 🗑 Del
list_commands.py6.3K06441980-01-01 08:00👁 View ✏️ Edit 📝 Rename 📦 Move 🗑 Del
list_files_for_upload.py1.5K06441980-01-01 08:00👁 View ✏️ Edit 📝 Rename 📦 Move 🗑 Del
list_from_json.py2.3K06441980-01-01 08:00👁 View ✏️ Edit 📝 Rename 📦 Move 🗑 Del
list_gcloud.py1.9K06441980-01-01 08:00👁 View ✏️ Edit 📝 Rename 📦 Move 🗑 Del
list_readonly_commands.py3.8K06441980-01-01 08:00👁 View ✏️ Edit 📝 Rename 📦 Move 🗑 Del
list_readonly_commands.yaml78B06441980-01-01 08:00👁 View ✏️ Edit 📝 Rename 📦 Move 🗑 Del
render_markdown.py1.5K06441980-01-01 08:00👁 View ✏️ Edit 📝 Rename 📦 Move 🗑 Del
test.py12.3K06441980-01-01 08:00👁 View ✏️ Edit 📝 Rename 📦 Move 🗑 Del
validate_yaml.py1.5K06441980-01-01 08:00👁 View ✏️ Edit 📝 Rename 📦 Move 🗑 Del