# Day 29: Debugging and Dev Tools

> Learn to debug and fix issues in your application. Learn to use the DevTools to debug your Flutter app. Understand the need to use DevTools and debugging.

- URL: https://www.appwriters.dev/30days/flutter/day29
- Series: #30DaysMasterFlutter

---

Dev tools are built to help developers debug and optimize their apps. Flutter provides a wide range of tools that you can use to debug your app. It's crucial as a developer to understand how to use these tools to test, debug and fix issues in your app.

> **Project** - Debug Quotes App
>
> Run the quotes app in debug mode and explore the various options provided in the dev tools
>
> - You can add breakpoints in your code and run the app in debug mode
> - You can use the dev tools to inspect the widget tree and view the properties of each widget
> - You can use the dev tools to view the logs and errors in your app

By the end of this day, you will learn how to use dev tools to debug your app and fix issues.

## Tips

- Use dev tools to debug your app and fix issues
- Use breakpoints to pause the execution of your app at a specific line of code
- Use the widget inspector to view the widget tree and properties of each widget
- Use the logging view to view the logs and errors in your app
- Use the performance view to view the performance of your app

## Resources

- [Flutter Debugging Guide](https://docs.flutter.dev/testing/debugging)
- [Debugging Flutter Apps on VS Code](https://docs.flutter.dev/tools/vs-code#running-and-debugging)
- [Devtools guide](https://docs.flutter.dev/tools/devtools)
- [Setup devtools on VS Code](https://docs.flutter.dev/tools/devtools/vscode)
