这个配置可以运行使用 Dart 和 Flutter 编写的应用程序。其中包括使用调试模式、性能分析模式和发布模式运行应用程序,以及将应用程序附加到设备以进行调试。

{
    // 使用 IntelliSense 了解相关属性。
    // 悬停以查看现有属性的描述。
    // 欲了解更多信息,请访问: https://go.microsoft.com/fwlink/?linkid=830387
    'version': '0.2.0',
    'configurations': [
        {
            'name': 'module',
            'request': 'launch',
            'type': 'dart'
        },
        {
            'name': 'module (profile mode)',
            'request': 'launch',
            'type': 'dart',
            'flutterMode': 'profile'
        },
        {
            'name': 'module (release mode)',
            'request': 'launch',
            'type': 'dart',
            'flutterMode': 'release'
        },
        {
            'name': 'Flutter: Attach to Device',
            'type': 'dart',
            'request': 'attach'
        }
    ]
}
Dart 和 Flutter 应用程序运行配置

原文地址: https://www.cveoy.top/t/topic/m2Al 著作权归作者所有。请勿转载和采集!

免费AI点我,无需注册和登录