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 "GitHub Codespaces logs" and "About GitHub Support."
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:
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.devis the URL for the
- If you cannot open a codespace, you can access the name in GitHub Enterprise Cloud 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.
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 "GitHub Codespaces logs."
Every codespace also has an ID (identifier). 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.
In Visual Studio Code, browser or desktop, in the Activity Bar on the left, click Remote Explorer to show details for the codespace.
Note: If the Remote Explorer is not displayed in the Activity Bar:
- Access the Command Palette. For example, by pressing Shift+Command+P (Mac) / Ctrl+Shift+P (Windows/Linux).
- Click Codespaces: Details.
If the sidebar includes a "Codespace Performance" section, hover over the "Codespace ID" and click the clipboard icon to copy the ID.
If the information is not shown, click , in the bottom-left corner of the Activity Bar, to display the "Settings" tab.
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.