Debug service listening on ws://127.0.0.1:58848/BJZ_ZgFILrE=/ws

Viewed 1907

Everytime I run the command flutter run , I get this log

Debug service listening on ws://127.0.0.1:58848/BJZ_ZgFILrE=/ws

is it possible to make the port 58848 fixed? if not, how to get this URL after hot reload ( it does not print on hot reload and hot restart)

1 Answers

You can use this command to define a fixed port:

 flutter run --observatory-port=33221

Then you can access your profiler on that port.

 An Observatory debugger and profiler on yourDevice is available at: http://127.0.0.1:33221/XG9ySnxn3XU=/

Read more from here.

Related