Skip to content

Flutter web run won't print Dart Tool Daemon uri with --print-dtd #182052

Description

@khensunny

Steps to reproduce

Run a flutter web application with parameters -d chrome --print-dtd

Expected results

A line with 'Dart Tooling Daemon ...' is printed

Actual results

Line with 'Dart Tooling Daemon...' NOT printed. The line is printed when I'm not running a web application or I pass --machine.

Screenshots or Video

Screenshots / Video demonstration Image

Logs

Logs
 ...
Flutter run key commands.
r Hot reload. 🔥🔥🔥
R Hot restart.
h List all available interactive commands.
d Detach (terminate "flutter run" but leave application running).
c Clear the screen
q Quit (terminate the application on the device).

This app is linked to the debug service: ws://127.0.0.1:54632/L8fbb417Vh0=/ws
Debug service listening on ws://127.0.0.1:54632/L8fbb417Vh0=/ws
A Dart VM Service on Chrome is available at: http://127.0.0.1:54632/L8fbb417Vh0=
The Flutter DevTools debugger and profiler on Chrome is available at:
http://127.0.0.1:54632/L8fbb417Vh0=/devtools/?uri=ws://127.0.0.1:54632/L8fbb417Vh0=/ws
Starting application from main method in: org-dartlang-app:/web_entrypoint.dart.
...

Flutter Doctor output

Doctor output
[✓] Flutter (Channel stable, 3.38.7, on macOS 26.2 25C56 darwin-arm64, locale en-CA)
    [560ms]
    • Flutter version 3.38.7 on channel stable at /Users/mac/fvm/versions/3.38.7
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 3b62efc2a3 (4 weeks ago), 2026-01-13 13:47:42 -0800
    • Engine revision 78fc3012e4
    • Dart version 3.10.7
    • DevTools version 2.51.1
    • Feature flags: enable-web, enable-linux-desktop, enable-macos-desktop,
      enable-windows-desktop, enable-android, enable-ios, cli-animations,
      enable-native-assets, omit-legacy-version-file, enable-lldb-debugging

[✓] Android toolchain - develop for Android devices (Android SDK version 35.0.0)
    [1,808ms]
    • Android SDK at /opt/homebrew/share/android-commandlinetools
    • Emulator version 36.3.10.0 (build_id 14472402) (CL:N/A)
    • Platform android-36, build-tools 35.0.0
    • ANDROID_HOME = /opt/homebrew/share/android-commandlinetools
    • Java binary at: /usr/bin/java
      This JDK was found in the system PATH.
      To manually set the JDK path, use: `flutter config --jdk-dir="path/to/jdk"`.
    • Java version OpenJDK Runtime Environment Temurin-17.0.18+8 (build 17.0.18+8)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 26.2) [1,237ms]
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 17C52
    • CocoaPods version 1.16.2

[✓] Chrome - develop for the web [7ms]
    • CHROME_EXECUTABLE = /Applications/Brave Browser.app/Contents/MacOS/Brave Browser

[✓] Connected device (3 available) [7.1s]
    • iPhone 17 Pro (mobile) • DBFDA27E-519F-4DAC-8792-2C808AA176AF • ios            •
      com.apple.CoreSimulator.SimRuntime.iOS-26-2 (simulator)
    • macOS (desktop)        • macos                                • darwin-arm64   •
      macOS 26.2 25C56 darwin-arm64
    • Chrome (web)           • chrome                               • web-javascript •
      Brave Browser 144.1.86.148

[✓] Network resources [638ms]
    • All expected network resources are available.

• No issues found!

Metadata

Metadata

Assignees

No one assigned

    Labels

    has reproducible stepsThe issue has been confirmed reproducible and is ready to work onplatform-webWeb applications specificallyteam-toolOwned by Flutter Tool teamtoolAffects the "flutter" command-line tool. See also t: labels.

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions