Commit e4f6a417 authored by Ian Hickson's avatar Ian Hickson

Update README.md

parent 5b40e031
...@@ -75,14 +75,15 @@ expects to be run from the root directory of your application's package (i.e., ...@@ -75,14 +75,15 @@ expects to be run from the root directory of your application's package (i.e.,
the same directory that contains the `pubspec.yaml` file). To run your app, the same directory that contains the `pubspec.yaml` file). To run your app,
follow these instructions: follow these instructions:
- `./packages/sky/sky_tool start` to start the dev server and upload your - The first time: `./packages/sky/sky_tool start --install && adb logcat -s sky chromium`
app to the device.
(NOTE: add a `--install` flag to install `SkyShell.apk` if it is not already - Subsequent times: `./packages/sky/sky_tool start && adb logcat -s sky chromium`
installed on the device.)
The `sky_tool start` command starts the dev server and uploads your app to the device.
- Use `adb logcat` to view any errors or Dart `print()` output from the app. The `--install` flag installs `SkyShell.apk` if it is not already installed on the device.
`adb logcat -s sky` can be used to filter only adb messages from The `adb logcat` command logs errors and Dart `print()` output from the app. The `-s sky chromium`
`SkyShell.apk`. argument limits the output to just output from Sky Dart code and the Sky Engine C++ code (which
for historical reasons currently uses the tag `chromium`.)
Debugging Debugging
--------- ---------
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment