Skip to content

Allow separate DAP log files for dart/flutter run/attach/test #5186

Closed

Description

@DanTup

These settings are only used by the legacy DAP, but we could set up a logger when we spawn the debug session (and close it when the session ends) to support them here.

Activity

  1. added
    is enhancementAn enhancement or improvement that should be listed in release notes but is not a bug fix.
    on Jul 16, 2024
  2. added this to the v3.94.0 milestone on Jul 16, 2024
  3. DanTup commented on Jul 16, 2024

    @DanTup
    MemberAuthor

    Actually, this doesn't make sense. The original intention of these logs was to capture the traffic going over stdin/stdout for these processes, but we no longer have it (since they're run internally in the SDK DAP).

    Instead, let's add support for a new ${kind} variables in the DAP log file, which will be something like:

    • dart_run
    • dart_attach
    • dart_test
    • flutter_run
    • flutter_attach
    • flutter_test
  4. changed the title [-]Support the legacy log settings (flutterTestLogFile, flutterRunLogFile, dartTestLogFile, etc.) for new SDK DAPs[/-] [+]Allow separate DAP log files for dart/flutter run/attach/test[/+] on Jul 16, 2024
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

    is 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