flutterdartvisual-studio-code

Flutter VsCode error: You don't have an extension for debugging YAML


I get this error each time I try to start my app in VsCode

You don't have an extension for debugging YAML. Should we find a YAML extension in the Marketplace?

It was working before I add a font in pubspec.yaml, restarted my app and it didn't work anymore. I tried to restart VsCode, undo my changes, launch "flutter pub get" many times but nothing seems to work.


Solution

  • Click on "open a file", then navigate to the main.dart file and then click debug and run.