【问题标题】: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 时,什么也没有发生。请帮忙。参考以下:-
【问题讨论】:
标签:
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 窗口中看到以下内容:
希望这会有所帮助!