Working with support for Codespaces

Tips on getting the best help from support for Codespaces.

Codespaces is available for organizations using GitHub Team or GitHub Enterprise Cloud. 更多信息请参阅“GitHub 的产品”。

Before support can help you with problems with codespaces, you need to know the name of the codespace and its codespaces ID (identifier). In addition, support may ask you to share some logs with them. For more information, see "Codespaces logs" and "About GitHub Support."

Codespace names

Each codespace has a unique name that is a combination of your GitHub handle, the repository name, and some random characters. The additional characters allow you to have codespaces for different branches in the same repository. For example: octocat-myrepo-gmc7.

To find the name of a codespace:

  • Open the codespace in the browser. The subdomain of the URL is the name of the codespace. For example: https://octocat-myrepo-gmc7.github.dev is the URL for the octocat-myrepo-gmc7 codespace.
  • If you cannot open a codespace, you can access the name in GitHub on https://github.com/codespaces. The name is shown in a pop-up when you hover over the Open in browser option on https://github.com/codespaces. Codespace name shown on hover over

The name the codespace is also included in many of the log files. For example, in the codespace logs as the value of friendlyName, in the GitHub Codespaces extension log after making GET request for, and in the browser console log after clientUrl. For more information, see "Codespaces logs."

Codespaces IDs

Every codespace also has an ID (identifer). This is not shown by default in Visual Studio Code so you may need to update the settings for the GitHub Codespaces extension before you can access the ID.

  1. In Visual Studio Code, browser or desktop, in the Activity Bar on the left, click Remote Explorer to show details for the codespace.
  2. If the sidebar includes a "Codespace Performance" section, hover over the "Codespace ID" and click the clipboard icon to copy the ID.
  3. If the information is not shown, click , in the bottom-left corner of the Activity Bar, to display the "Settings" tab.
  4. Expand Extensions and click GitHub Codespaces to display the settings for the extension. Then enable Show Performance Explorer to display the "Codespace Performance" section in the sidebar. Codespace ID and settings required to display performance information

此文档对您有帮助吗?

隐私政策

帮助我们创建出色的文档!

所有 GitHub 文档都是开源的。看到错误或不清楚的内容了吗?提交拉取请求。

做出贡献

或, 了解如何参与。