flutter / flutter/devtools

Dart DevTools fails to connect in vscode-serve-web (Connection Refused to 127.0.0.1)

オープン
#9,827 コメント 15 件 リアクション 0 件 担当者 0 名 GitHub で見る
bug ide-integration ide: vs-code P2
主要言語
Dart
スター
1.7k
フォーク
404
平均マージ
6日 17時間
マージ済み PR(30日)
18

説明

### Environment:
- VS Code Version: 1.119.0
- Dart/Flutter Extension Version: v3.134.0
- Start Command: code serve-web
- OS: Linux
### Description:
When using VS Code via serve-web (browser-based), the Dart/Flutter extension attempts to launch or connect to DevTools using 127.0.0.1. However, in a web-based IDE sandbox, 127.0.0.1 refers to the user's local machine (client) rather than the remote host where the DevTools server is actually running.
### Steps to Reproduce:
1. Launch VS Code using code serve-web or a similar web-based hosting.
2. Start a Flutter/Dart project.
3. Click on "Flutter" from the Activity Bar.
4. The embedded Webview or the redirected URL fails because it points to http://127.0.0.1:9100.

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。