【问题标题】:VS Code : Azure : Open Bash in Cloud Shell , Select directory.. hangVS Code:Azure:在 Cloud Shell 中打开 Bash,选择目录.. 挂起
【发布时间】:2019-09-22 05:33:41
【问题描述】:

在 Visual Studio Code 中,我进行了 Azure 登录。然后 Azure:在 Cloud Shell 中打开 Bash。它提示输入目录。当我选择所需的 1 时,什么也没有发生。请帮忙。参考以下:-

【问题讨论】:

  • 仅供参考,您也可以直接访问 Azure Shell。只需转到shell.azure.com

标签: c# bash azure visual-studio-code azure-cloud-shell


【解决方案1】:

请确保您使用的是最新版本的 VS Code。我在1.39.2 上,以下对我有用:

  • 在命令面板中,使用 Azure: Sign in 登录到 Azure。
  • 然后Azure: Open Bash in Cloud Shell,就像你提到的那样。
  • 选择目录后,您会看到如下内容:
  • 如右下角的弹出窗口所示,在目录中首次启动 Cloud Shell 需要在 Web 应用程序中进行设置。点击Open
  • 您将看到类似以下的提示:
  • 单击Open Link 将打开https://shell.azure.com。在此处登录您的帐户。
  • 完成后,再次执行Azure: Open Bash in Cloud Shell。现在您已登录 Cloud Shell 上的 Azure,您将在 VS Code 窗口中看到以下内容:

希望这会有所帮助!

【讨论】:

    【解决方案2】:

    这是一个已知错误,请参阅Azure Account Git Repo Issue 220

    【讨论】:

    • 请添加更多详细的链接
    猜你喜欢
    • 1970-01-01
    • 2010-09-22
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2016-06-13
    • 2017-09-22
    • 1970-01-01
    相关资源
    最近更新 更多