|
1 | 1 | --- |
2 | 2 | title: Connect to Microsoft Dev Box Using VS Code |
3 | | -description: Learn how to set up and connect to your Microsoft Dev Box using the Open in VS Code feature. Follow step-by-step instructions to enable tunnels for a pool, install the Dev Box extension, and connect remotely for development. |
| 3 | +description: Learn how to set up and connect to your Microsoft Dev Box using the Open in VS Code feature. Enable tunnels for a pool, install the Dev Box extension, and connect remotely for development. |
4 | 4 | author: RoseHJM |
5 | 5 | contributors: |
6 | 6 | ms.topic: how-to |
7 | | -ms.date: 08/28/2025 |
| 7 | +ms.date: 01/27/2026 |
8 | 8 | ms.author: rosemalcolm |
9 | 9 | ms.reviewer: rosemalcolm |
10 | 10 | --- |
@@ -93,6 +93,34 @@ Select WSL targets from the dropdown to see all the WSL distributions. Open any |
93 | 93 |
|
94 | 94 | For more information on the WSL development experience, see [Remote - WSL](https://code.visualstudio.com/docs/remote/wsl) and [Set up a WSL development environment](/windows/wsl/setup/environment). |
95 | 95 |
|
| 96 | +## Troubleshoot connectivity issues with Copilot |
| 97 | + |
| 98 | +If you're experiencing connectivity issues with your Dev Box, use **Copilot connectivity assist** to diagnose and resolve problems. This feature provides guided troubleshooting through GitHub Copilot and the Dev Box MCP Server to help you identify and fix common connection issues. |
| 99 | + |
| 100 | +To use Copilot connectivity assist: |
| 101 | + |
| 102 | +1. In VS Code, open the Dev Box extension by selecting the Dev Box icon in the left sidebar. |
| 103 | + |
| 104 | +1. In the **Dev Box Resources** panel, locate the Dev Box you're having trouble connecting to. |
| 105 | + |
| 106 | +1. Select the settings icon (gear) next to the Dev Box, or right-click the Dev Box name to open the context menu. |
| 107 | + |
| 108 | +1. Select **Copilot connectivity assist**. |
| 109 | + |
| 110 | + :::image type="content" source="media/how-to-set-up-dev-tunnels/dev-tunnels-connect-tunnel-copilot.png" alt-text="Screenshot of the Dev Box extension in VS Code showing the context menu with the Copilot connectivity assist option highlighted."::: |
| 111 | + |
| 112 | +1. Follow the guided prompts from Copilot to diagnose and resolve your connectivity issue. |
| 113 | + |
| 114 | +> [!NOTE] |
| 115 | +> This menu option runs `devbox_think` from the DevBox MCP Server. You must have the [DevBox MCP Server](overview-what-is-dev-box-mcp-server.md) installed and configured in VS Code to use this feature. Follow the prompts provided by Copilot to complete the troubleshooting process. |
| 116 | +
|
| 117 | +Copilot connectivity assist can help with issues such as: |
| 118 | + |
| 119 | +- Tunnel connection failures |
| 120 | +- Authentication problems |
| 121 | +- Network configuration issues |
| 122 | +- Dev Box state problems (stopped, hibernated, or unavailable) |
| 123 | + |
96 | 124 | ## Frequently asked questions |
97 | 125 |
|
98 | 126 | - Why do I need to sign-in to the Dev Box before enabling the tunnel? |
|
0 commit comments