How do you debug Flutter in VsCode?
8,780
If you launch your Flutter project from VS Code with F5
/Debug -> Start Debugging
then normal debugging functionality (such as breakpoints, stepping, etc.) should just work (as hot-reload will automatically fire on-save).
Author by
Avid Programmer
I learn things quickly and understand business requirements easily. This helps me a lot in understanding customers and providing solutions quickly. Still playing with hello world programs
Updated on December 15, 2022Comments
-
Avid Programmer over 1 year
How does one debug their Flutter code while the app is running an in-app simulator?
-
pskink over 4 years
-
-
Golden Lion almost 3 yearsI am getting an error after pressing F5 in the debug console: error handling 'checkPlatformOverride' custom request: _flutter.listViews: (-32601) Unknown method "_flutter.listViews". Error handling 'checkBrightnessOverride' custom request: _flutter.listViews: (-32601) Unknown method "_flutter.listViews". Error handling 'serviceExtension' custom request: _flutter.listViews: (-32601) Unknown method "_flutter.listViews". Error handling 'checkIsWidgetCreationTracked' custom request: _flutter.listViews: (-32601) Unknown method "_flutter.listViews".
-
Danny Tuppeny almost 3 years@GoldenLion please file an issue at github.com/Dart-Code/Dart-Code
-
Golden Lion almost 3 yearsI am loading visual studio code and flutter on my win 10 box and trying it there.