Skip to content

feat: add native Flutter debug adapter and schemas - #99

Closed
AkhmadRamadani wants to merge 1 commit into
zed-extensions:mainfrom
AkhmadRamadani:feat/flutter-debug-adapter
Closed

AkhmadRamadani wants to merge 1 commit into
zed-extensions:mainfrom
AkhmadRamadani:feat/flutter-debug-adapter

Conversation

@AkhmadRamadani

Copy link
Copy Markdown

Summary

This PR enables native Flutter DAP debugging directly within the official Dart extension.

What's Changed

  • Registered Debug Adapters: Added flutter and Flutter debug adapters in extension.toml.
  • Flutter Configuration Schema: Added debug_adapter_schemas/flutter.json supporting program, deviceId, flutterMode, toolArgs, flutterPath, useFvm, etc.
  • Smart Defaults & Inferences:
    • Automatically defaults debug_mode to flutter when using adapter "flutter" or "Flutter", eliminating the need to explicitly specify "type": "flutter".
    • Defaults request to "launch" if omitted.
    • Adds support for custom Flutter path via flutterPath / flutter_path.
    • Added automatic fallback to FVM (fvm flutter debug_adapter) if flutter is not in PATH but fvm is.
  • Documentation: Added Flutter & Dart debugging documentation with configuration examples in README.md.

Example .zed/debug.json

[
  {
    "adapter": "flutter",
    "label": "Launch Flutter App",
    "program": "lib/main.dart",
    "deviceId": "macos"
  }
]

@cla-bot

cla-bot Bot commented Sep 9, 2026

Copy link
Copy Markdown

We require contributors to sign our Contributor License Agreement, and we don't have @AkhmadRamadani on file. You can sign our CLA at https://zed.dev/cla. Once you've signed, post a comment here that says '@cla-bot check'.

@AkhmadRamadani

Copy link
Copy Markdown
Author

@cla-bot check

@cla-bot cla-bot Bot added the cla-signed label Sep 9, 2026
@cla-bot

cla-bot Bot commented Sep 9, 2026

Copy link
Copy Markdown

The cla-bot has been summoned, and re-checked this pull request!

@AkhmadRamadani
AkhmadRamadani deleted the feat/flutter-debug-adapter branch September 9, 2026 05:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant