If desired, set breakpoints in your source code.

Click the Debug icon in the toolbar, or invoke Run > Debug.
    
      The bottom Debugger pane shows Stack Frames and Variables.
      The bottom Console pane shows detailed logs output.
      Debugging is based on a default launch configuration.
To customize this, click the drop-down button to the right
of the device selector, and select Edit configuration.

Fast edit and refresh development cycle

Flutter offers a best-in-class developer cycle enabling you to see the effect
of your changes almost instantly with the Stateful Hot Reload feature.
To learn more, check out Hot reload.

Show performance data

Note:
  To examine performance issues in Flutter, see the
  Timeline view.

To view the performance data, including the widget rebuild
information, start the app in Debug mode, and then open
the Performance tool window using
View > Tool Windows > Flutter Performance.