OLD | NEW |
1 Running Observatory against content_shell: | 1 Running Observatory against content_shell: |
2 | 2 |
3 0) Open your mobile web application in Dart Editor and launch it on mobile. | 3 0) Open your mobile web application in Dart Editor and launch it on mobile. |
4 | 4 |
5 1) Forward localhost:9222 to the content_shell's remote debugging protocol: | 5 1) Forward localhost:9222 to the content_shell's remote debugging protocol: |
6 | 6 |
7 $ adb forward tcp:9222 localabstract:content_shell_devtools_remote | 7 $ adb forward tcp:9222 localabstract:content_shell_devtools_remote |
8 | 8 |
9 2) Start the Observatory servers: | 9 2) Start the Observatory servers: |
10 | 10 |
11 $ ./run.sh | 11 $ ./run.sh |
12 | 12 |
13 By default Observatory will be available on localhost:9090 | 13 By default Observatory will be available on localhost:9090 |
14 | 14 |
15 3) Release the content_shell's remote debugging protocol by clicking the 'Stop' | 15 3) Release the content_shell's remote debugging protocol by clicking the 'Stop' |
16 button in the Dart Editor's debugger. By releasing the debugging protocol, | 16 button in the Dart Editor's debugger. By releasing the debugging protocol, |
17 Observatory can communicate with the content_shell. | 17 Observatory can communicate with the content_shell. |
18 | 18 |
19 4) On Observatory's connect to VM page you should see the name of your app | 19 4) On Observatory's connect to VM page you should see the name of your app |
20 on the right hand side of the page. | 20 on the right hand side of the page. |
OLD | NEW |