Using the debugger

Tools

DevTools

Using the debugger

Getting started

Setting breakpoints

The call stack and variable areas

Stepping through source code

Console output

Breaking on exceptions

Known issues

Other resources

Note:
  DevTools hides the Debugger tab if the app was launched
  from VS Code because VS Code has a built-in debugger.

Getting started

DevTools includes a full source-level debugger, supporting
breakpoints, stepping, and variable inspection.

Note:
  The debugger works with all Flutter and Dart applications.
  If you are looking for a way to use GDB to remotely debug the
  Flutter engine running within an Android app process,
  check out flutter_gdb.