You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// Arguments that will be passed along to the `dt serve` command.
243
-
],
244
-
},
245
-
```
246
-
247
-
This instructs VS Code to run the `dt serve` command instead of running `dart devtools`.
248
-
You must set the `LOCAL_DART_SDK` and `FLUTTER_ROOT` env variables correctly for the script to work.
249
-
250
-
Next, restart VS Code (or run the **Developer: Reload Window** command from the command palette (`F1`))
251
-
and DevTools will be run from your local source code. After making any code changes to DevTools or the
252
-
server, you will need to re-run the **Developer: Reload Window** command to rebuild and restart the server.
253
-
254
-
#### DevTools + IntelliJ integration
255
-
256
-
Follow instructions in the Flutter-IntelliJ repo's `CONTRIBUTING` guide: [#developing-with-local-devtools](https://github.com/flutter/flutter-intellij/blob/master/CONTRIBUTING.md#developing-with-local-devtools)
155
+
Please see [DEBUGGING.md][] for guidance on running and debugging DevTools.
257
156
258
157
## Testing for DevTools
259
158
260
-
Please see [TESTING.md](TESTING.md) for guidance on running and writing tests.
159
+
Please see [TESTING.md][] for guidance on running and writing tests.
261
160
262
161
## Appendix
263
162
264
-
### Connect DevTools to a test application
265
-
266
-
For working on most DevTools tools, a connection to a running Dart or Flutter app is required. Run any Dart or Flutter app of your choice to
267
-
connect it to DevTools. Consider running [veggieseasons](https://github.com/flutter/samples/tree/main/veggieseasons) or another Flutter sample since those apps have plenty of interesting
268
-
code to debug.
269
-
1. Run your Dart or Flutter app.
270
-
> Note: some DevTools features may be unavailable depending on the test app platform (Flutter native, Flutter web, Dart CLI, etc.) or run mode
271
-
(debug, profile) you choose.
272
-
2. Copy the URI printed to the command line (you will use this URI to connect to DevTools).
273
-
274
-
```
275
-
"A Dart VM Service on iPhone 14 Pro Max is available at: <copy-this-uri>"
276
-
```
277
-
3. Paste this URI into the connect dialog in DevTools and click "Connect".
0 commit comments