-
Notifications
You must be signed in to change notification settings - Fork 29.7k
Closed
Labels
toolAffects the "flutter" command-line tool. See also t: labels.Affects the "flutter" command-line tool. See also t: labels.
Description
The wsUri printed when using flutter attach --machine appears to be malformed:
danny@Dannys-MacBook-Pro flutter_counter % flutter attach --machine -d iPhone --debug-url http://127.0.0.1:49606/h-O0daymeDM=/
[{"event":"daemon.connected","params":{"version":"0.6.1","pid":2769}}]
[{"event":"app.start","params":{"appId":"f0197a9d-8d92-40e6-839a-61d561321b8e","deviceId":"A1F0E6A3-DBEA-4CBE-BACE-3893023E5897","directory":null,"supportsRestart":true,"launchMode":"attach"}}]
[
{
"event": "app.debugPort",
"params": {
"appId": "f0197a9d-8d92-40e6-839a-61d561321b8e",
"port": 49606,
######## wsUri looks wrong here
"wsUri": "ws://127.0.0.1:49606/h-O0daymeDM=/.,/ws",
"baseUri": "file:///Users/danny/Library/Developer/CoreSimulator/Devices/A1F0E6A3-DBEA-4CBE-BACE-3893023E5897/data/Containers/Data/Application/B788D5FE-81AD-487E-9B95-8EA6357DFF65/tmp/flutter_counterFG3CJR/flutter_counter/"
}
}
]
The wsUri returned is ws://127.0.0.1:49606/h-O0daymeDM=/.,/ws but I would expect it to be ws://127.0.0.1:49606/h-O0daymeDM=/ws.
Metadata
Metadata
Assignees
Labels
toolAffects the "flutter" command-line tool. See also t: labels.Affects the "flutter" command-line tool. See also t: labels.