Visual Studio Code: Flutter: how to efficiently debug on two simulator at the same time

539

You can simultaneously debug on all connected devices with the -d all argument:

flutter run -d all
Share:
539
JerryZhou
Author by

JerryZhou

Updated on December 11, 2022

Comments

  • JerryZhou
    JerryZhou over 1 year

    When I use iOS Simulator to debug with Flutter project, if I want to check on another Simulator to check if the layout is good on bigger/smaller screen. I found I need to stop current project, and click run project with another simulator.

    And after that, if I directly click the app in previous simulator, I can see the layout isn't the layout just debugging, it's previous layout.

    Which make the debugging with different screen size much inefficient.

    Is there anyway to improve the debug process with compare on different screen size much quicker?

    enter image description here

  • JerryZhou
    JerryZhou about 5 years
    it works, if vscode floating debug bar also support this would be great.