Skip to content

flutter run -d edge gets stuck at DwdsInjector: Injected debugging metadata for entrypoint #167102

@kjm0202

Description

@kjm0202

Steps to reproduce

Launch Flutter Web project in VS Code, or just simply run flutter run -d edge

Sometimes it works well, but frequently go out of order.
My Edge is already latest version, and it works well in Chrome, so it would not be a version issue or port issue.

Expected results

RUN

Actual results

FAIL

Code sample

Code sample
FLUTTER BUTTON DEMO WOULD BE ENOUGH

Screenshots or Video

Screenshots / Video demonstration

Logs

Logs
Launching lib\main.dart on Edge in debug mode...
Failed to launch browser after 3 tries. Command used to launch it: C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe --user-data-dir=C:\Users\(user)\AppData\Local\Temp\flutter_tools.f705c3c\flutter_tools_chrome_device.bb9b8b83 --remote-debugging-port=4642 --disable-background-timer-throttling --disable-extensions --disable-popup-blocking --bwsi --no-first-run --no-default-browser-check --disable-default-apps --disable-translate --disable-search-engine-choice-screen http://localhost:4612
Failed to launch browser. Make sure you are using an up-to-date Chrome or Edge. Otherwise, consider using -d web-server instead and filing an issue at https://github.com/flutter/flutter/issues.

Exited (1).

Flutter Doctor output

Doctor output
[√] Flutter (Channel beta, 3.31.0-0.1.pre, on Microsoft Windows [Version 10.0.26100.3775], locale ko-KR) [372ms]
    • Flutter version 3.31.0-0.1.pre on channel beta at C:\Users\(user)\fvm\versions\3.31.0-0.1.pre
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision fce807530a (4 weeks ago), 2025-03-17 16:47:17 +0000
    • Engine revision 50f226569f
    • Dart version 3.8.0 (build 3.8.0-171.0.dev)
    • DevTools version 2.44.0

[√] Windows Version (11 Pro 64-bit, 24H2, 2009) [2.5s]

[√] Android toolchain - develop for Android devices (Android SDK version 34.0.0) [1,468ms]
    • Android SDK at C:\Users\(user)\AppData\Local\Android\sdk
    • Platform android-34, build-tools 34.0.0
    • Java binary at: C:\Users\(user)\AppData\Local\Programs\Android Studio\jbr\bin\java
      This is the JDK bundled with the latest Android Studio installation on this machine.
      To manually set the JDK path, use: `flutter config --jdk-dir="path/to/jdk"`.
    • Java version OpenJDK Runtime Environment (build 17.0.11+0--11852314)
    • All Android licenses accepted.

[√] Chrome - develop for the web [81ms]
    • Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe

[√] Visual Studio - develop Windows apps (Visual Studio Community 2022 17.13.6) [80ms]
    • Visual Studio at C:\Program Files\Microsoft Visual Studio\2022\Community
    • Visual Studio Community 2022 version 17.13.35931.197
    • Windows 10 SDK version 10.0.22621.0

[√] Android Studio (version 2024.1) [17ms]
    • Android Studio at C:\Users\(user)\AppData\Local\Programs\Android Studio
    • Flutter plugin can be installed from:
       https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
       https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 17.0.11+0--11852314)

[√] IntelliJ IDEA Ultimate Edition (version 2024.3) [16ms]
    • IntelliJ at C:\Users\(user)\AppData\Local\Programs\IntelliJ IDEA Ultimate
    • Flutter plugin can be installed from:
       https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
       https://plugins.jetbrains.com/plugin/6351-dart

[√] VS Code (version 1.98.2) [15ms]
    • VS Code at C:\Users\(user)\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension can be installed from:
       https://marketplace.visualstudio.com/items?itemName=Dart-Code.flutter

[√] Connected device (4 available) [238ms]
    • SM G970N (mobile) • R39M207D7FA • android-arm64  • Android 12 (API 31)
    • Windows (desktop) • windows     • windows-x64    • Microsoft Windows [Version 10.0.26100.3775]
    • Chrome (web)      • chrome      • web-javascript • Google Chrome 135.0.7049.84
    • Edge (web)        • edge        • web-javascript • Microsoft Edge 135.0.3179.73

[√] Network resources [311ms]
    • All expected network resources are available.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Important issues not at the top of the work listbrowser: edgeonly manifests in Edge (Chromium-based)c: regressionIt was better in the past than it is nowfound in release: 3.32Found to occur in 3.32has reproducible stepsThe issue has been confirmed reproducible and is ready to work onplatform-webWeb applications specificallyr: fixedIssue is closed as already fixed in a newer versionteam-webOwned by Web platform teamtoolAffects the "flutter" command-line tool. See also t: labels.triaged-webTriaged by Web platform team

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions