Skip to content

Add commands for easier running in Release mode #3815

Closed

Description

@peekpt

Captura de ecrã 2022-02-04, às 14 12 31

It would be nice to have by default this Flutter modes in launch.json:
Run,
Profile
Debug
Release

and in the main file: Run | Debug | Profile | Release
Captura de ecrã 2022-02-04, às 14 24 58

Maybe also add something for building all the modes like: flutter build --split-per-abi

Build (apk)
Build (apk splitted)
Build (release)
Build (iOS)
Build (web)
Build (Win)
...

Activity

  1. added
    is enhancementAn enhancement or improvement that should be listed in release notes but is not a bug fix.
    on Feb 4, 2022
  2. DanTup commented on Feb 23, 2022

    @DanTup
    Member

    These values come from the launch.json so we can't directly contribute them here. We could change the defaults/snippets that go into launch.json. It probably doesn't make sense to have Run/Debug in there, as that's controlled by whether you use Run -> Debug or Run -> Run Without Debugging (or use F5/Ctrl+F5). Adding an option to run Release builds may make sense though.

    Maybe also add something for building all the modes like: flutter build --split-per-abi

    I don't think build makes sense here, as this is for launching a debug session. Build already exists under the Run Build Task command, although we probably don't have all of these variations.

  3. added this to the v3.36.0 milestone on Feb 23, 2022
  4. added
    in debuggingRelates to the debug adapter or process of running debug sessions
    in flutterRelates to running Flutter apps
    on Feb 23, 2022
  5. changed the title [-]Flutter: Add more options in RUN & DEBUG's drop down menu[/-] [+]Add commands for easier running in Release mode[/+] on Mar 1, 2022
  6. added a commit that references this issue on Sep 2, 2025
    20e4f6a
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    in debuggingRelates to the debug adapter or process of running debug sessionsin flutterRelates to running Flutter appsis enhancementAn enhancement or improvement that should be listed in release notes but is not a bug fix.

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions