Skip to content

terminal and externalTerminal console configuration should warn that they are not supported for Flutter #3767

@romaomb

Description

@romaomb

Describe the bug:
It seems that whenever we set "console": "externalTerminal" or "console": "terminal" in the launch.json for Flutter apps, the configuration is being ignored and the Flutter logs are displayed in the Debug Console, even if you add "dart.cliConsole": "externalTerminal" in the settings.json. It's working fine for Dart apps, though.

@DanTup, could it be related to #3434?

To Reproduce:

  1. Create a Flutter app
  2. Create a launch configuration and set console to terminal or externalTerminal:
{
    "configurations": [
        {
            "name": "Flutter",
            "type": "dart",
            "request": "launch",
            "program": "lib\\main.dart",
            "console": "externalTerminal"
        }
    ]
}
  1. The logs will be shown in the Debug Console.

Expected behavior
See the Flutter logs in the selected terminal. For me, the most important thing is externalTerminal, since it helps me a lot with my windows placement (vscode | emulator + terminal)

Versions:

  • Windows 10
  • VS Code version: 1.63.2
  • Dart extension version: v3.32.0
  • Dart/Flutter SDK version: Dart 2.15.1 | Flutter 2.8.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    in debuggingRelates to the debug adapter or process of running debug sessionsin flutterRelates to running Flutter appsis enhancement

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions