-
Notifications
You must be signed in to change notification settings - Fork 340
Description
Describe the bug
When opening a remote VSCode or CodeOSS Workspace, the Flutter DevTools in the sidebar fails to load. It appears to be assuming it has access to a server on localhost, which is not the case for remote workspaces.
To Reproduce
This should be reproducible in any remote workspace, but is trivial to reproduce using IDX.
Steps to reproduce the behavior:
- Create a new workspace in IDX
- Click on the Flutter extension icon in the activity bar
- Wait for the "Flutter Sidebar" to load with the failure shown below
Expected behavior
The Flutter Sidebar functionality should be shown for remote workspaces, or the section should not be visible if the functionality cannot be supported remotely.
Screenshots
Please complete the following information:
You can run the Dart: Collect Diagnostic Information command from the VS Code command palette (F1) to easily capture this information or provide it manually.
- Operating System and version: N/A
- VS Code version: Tested on Project IDX 1.83.1
- Dart extension version: v3.90.0
- Dart/Flutter SDK version: Flutter 3.22.2 | Dart 3.4.3 | DevTools 2.34.3
- Target device (if the issue relates to Flutter debugging): N/A
