solace6282 · GitHub

Describe the bug
Flutter extension seem to look for pubspec.yaml from file directory given in "program" on launch.json's configurations and because "program" points to a a file (i.e. main.dart), debug session crashes. Debugging was okay yesterday, probably has something to do with version 3.130.0

To Reproduce
Steps to reproduce the behavior:

  1. Open or create any project
  2. Create folder .vscode
  3. Create file launch.json, use any configurations
  4. Start Debugging (F5)

Expected behavior
Debugging should start

Screenshots
If applicable, add screenshots to help explain your problem.

Image

Please complete the following information:

You can run the Dart: Collect Diagnostic Information command from the VS Code command palette (F1) to easily capture this information or provide it manually.

  • Operating System and version: Ubuntu 22.04
  • VS Code version: linux 1.99.2
  • Dart extension version: 3.130.0
  • Dart/Flutter SDK version: 3.11.1/3.41.3
  • Target device: Android

Read the original on github.com ↗