5

Currently, Dart Devtools opens as a tab in VSCode. I want it to go back to opening in Chrome as it did in previous versions of Flutter.

Gama11
  • 31,714
  • 9
  • 78
  • 100
Aditya Nigam
  • 869
  • 2
  • 11
  • 21

4 Answers4

8

Update VSCode to the newest Version.

VSCode Update

Update Flutter

flutter Update

Now run your Project and then click [ctrl] + [alt] + [d] for running dart devtools. VSCode is asking you where you wish to open DevTools.

enter image description here

Twelve
  • 236
  • 1
  • 5
  • 1
    Thanks! I also found that clicking on the `Dart DevTools` option on the status bar also gives you the same options – Aditya Nigam Oct 11 '20 at 11:53
5

Do not bother about it mate, just add this line on settings.json

 "dart.embedDevTools": false

Then you will get again DevTools on Chrome. Just shortcode: Ctrl + Alt + D.

That's it.

Alexnorie.ga
  • 51
  • 1
  • 5
2

In your terminal, run:

dart devtools

It will open Flutter Devtools page in your default browser. When you start an application is should print an id starting and ending with ws. This id will be used to connect devtools to the app

Rongix
  • 21
  • 2
2
"dart.embedDevTools": false 

is not relevant anymore, instead you should use:

"dart.devToolsLocation": "external"
Rmk930
  • 21
  • 1