In this recipe, we will examine how to debug your app in the Chrome browser.
- From the menu in the upper right-hand corner, select Tools and then Developer Tools.
- Choose Sources in the Developer Tools menu, then press Ctrl + O to open a file browser and select the Dart script you wish to debug.
Clicking on the left margin before a line of code places a breakpoint, which is indicated by a fat blue arrow.
- Now reload the application and ...