Azure / azure-cli-extensions

Public Repository for Extensions of Azure CLI.
https://docs.microsoft.com/en-us/cli/azure
MIT License
381 stars 1.2k forks source link

[Interactive] Unable to debug in Interactive mode #414

Open tjprescott opened 7 years ago

tjprescott commented 7 years ago
  1. I ran az interactive --debug to get debugging output for each of my calls. However, when I do that, any kind of dynamic tab completion (which occurs on basically every command because of resource group) causes the screen to be overrun with tons of debugging text related to the tab completion REST API calls. Thus you can't even see what you were typing. There doesn't seem to be a way to turn this off.

  2. I can't even run select calls with --debug. This just does nothing at all and prints normal output.

  3. I can't even paste from Notepad (for example) INTO az interactive, which would at least let me get around the tab completion calls that pollute my screen. This might be a shell thing.


Environment summary

Install Method: How did you install the CLI? (e.g. pip, interactive script, apt-get, Docker, MSI, nightly)
Answer here: dev_setup.py

CLI Version: What version of the CLI and modules are installed? (Use az --version)
Answer here: azure-cli (2.0.7+dev)

acr (2.0.5+dev) acs (2.0.7+dev) appservice (0.1.7+dev) batch (3.0.0+dev) billing (0.1.0+dev) cdn (0.0.3+dev) cloud (2.0.3+dev) cognitiveservices (0.1.3+dev) component (2.0.5+dev) configure (2.0.7+dev) consumption (0.1.0+dev) core (2.0.7+dev) cosmosdb (0.1.7+dev) dla (0.0.7+dev) dls (0.0.7+dev) feedback (2.0.3+dev) find (0.2.3+dev) interactive (0.3.3+dev) iot (0.1.6+dev) keyvault (2.0.5+dev) lab (0.0.5+dev) monitor (0.0.5+dev) network (2.0.7+dev) nspkg (3.0.0+dev) profile (2.0.5+dev) rdbms (0.0.2+dev) redis (0.2.4+dev) resource (2.0.7+dev) role (2.0.5+dev) sf (1.0.2+dev) sql (2.0.4+dev) storage (2.0.7+dev) taskhelp (0.1.2+dev) testsdk (0.1.0+dev) utility-automation (0.1.1) vm (2.0.7+dev)

Python (Windows) 2.7.11 (v2.7.11:6d1b6a68f775, Dec 5 2015, 20:32:19) [MSC v.1500 32 bit (Intel)]

OS Version: What OS and version are you using?
Answer here: Win10 CU

Shell Type: What shell are you using? (e.g. bash, cmd.exe, Bash on Windows)
Answer here: cmd.exe

tjprescott commented 7 years ago

@mayurid did you have anyone in mind to address this?

yonzhan commented 4 years ago

add feature request.