Add daemon handler to start devtools (#62608)

This commit is contained in:
Helin Shiah
2020-07-31 11:06:05 -07:00
committed by GitHub
parent f06ee8dd8d
commit 7cbec567de
5 changed files with 82 additions and 3 deletions

View File

@@ -252,6 +252,12 @@ The returned `params` will contain:
- `emulatorName` - the name of the emulator created; this will have been auto-generated if you did not supply one
- `error` - when `success`=`false`, a message explaining why the creation of the emulator failed
### devtools domain
#### devtools.serve
The `serve()` command starts a DevTools server if one isn't already running and prints out the host and port of the server.
## 'flutter run --machine' and 'flutter attach --machine'
When running `flutter run --machine` or `flutter attach --machine` the following subset of the daemon is available: