<p dir="auto">I was looking for an easy/straightforward way to open observatory for my app. <code class="notranslate">flutter --help</code> doesn't appear to give me an option to <code class="notranslate">flutter observe</code>.</p>
<p dir="auto">Is there another way to open the observatory for my app? Or, should we made a <code class="notranslate">flutter observe</code> ?</p>
<p dir="auto">use case: I want to see the timeline of how my app starts up, and I am assuming that a good way to do that is open the Observatory.</p>
<p dir="auto">Workaround: <code class="notranslate">flutter run &amp;&amp; open http://localhost:8181</code></p>
<p dir="auto">This could be done via an additional keycode command, like <code class="notranslate">K</code>. The logic to launch devtools is fairly straightforward. For example, see the following code in dwds:</p>
<p dir="auto"><a href="https://github.com/dart-lang/webdev/blob/master/dwds/lib/src/servers/devtools.dart">https://github.com/dart-lang/webdev/blob/master/dwds/lib/src/servers/devtools.dart</a></p>