flutter / devtools

Performance tools for Flutter
https://flutter.dev/docs/development/tools/devtools/
BSD 3-Clause "New" or "Revised" License
1.56k stars 321 forks source link

Feature request: Please add webSocket support in network inspector #8223

Open KeterVM opened 3 weeks ago

KeterVM commented 3 weeks ago

Hi Flutter DevTools team,

While using DevTools to debug my Flutter applications, I've found that it currently lacks the ability to inspect WebSocket connections. This has made it difficult for me to debug Flutter apps that rely on WebSocket.

Would you consider adding this feature in a future release? With a WebSocket connection inspection feature, we would be able to better understand the status of WebSocket connections in our apps and the data being transmitted, which would be very helpful for debugging these types of Flutter applications.

I hope you can implement this feature soon, thank you!

kenzieschmoll commented 3 weeks ago

@bkonyi could you comment on what it would take to access data from web socket network traffic?

bkonyi commented 3 weeks ago

@bkonyi could you comment on what it would take to access data from web socket network traffic?

This would be quite a bit of work as we'd have to add network profiling support in dart:io at the very least. If we wanted to add generic support we'd have to update our HTTP profiling solution to also handle websocket traffic. cc @brianquinlan @derekxu16