Install and run DevTools from VS Code | 您所在的位置:网站首页 › vscode系统字体大小 › Install and run DevTools from VS Code |
Install and run DevTools from VS Code
Contents
Install the VS Code extensions
Start an application to debug
Launch DevTools
Install the VS Code extensions
To use the DevTools from VS Code, you need the Dart extension. If you’re debugging Flutter applications, you should also install the Flutter extension. Start an application to debugStart a debug session for your application by opening the root folder of your project (the one containing pubspec.yaml) in VS Code and clicking Run > Start Debugging (F5). Launch DevToolsOnce the debug session is active and the application has started, the Open DevTools commands become available in the VS Code command palette (F1): The chosen tool will be opened embedded inside VS Code. You can choose to have DevTools always opened in a browser with the dart.embedDevTools setting, and control whether it opens as a full window or in a new column next to your current editor with the dart.devToolsLocation setting. A full list of Dart/Flutter settings are available here or in the VS Code settings editor. Some recommendation settings for Dart/Flutter in VS Code can be found here. You can also see whether DevTools is running and launch it in a browser from the language status area (the {} icon next to Dart in the status bar). |
CopyRight 2018-2019 实验室设备网 版权所有 |