Aditya Nigam
Aditya Nigam

Reputation: 999

Get Dart Devtools to open in Chrome

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.

Upvotes: 9

Views: 10704

Answers (6)

Mayank Chauhan
Mayank Chauhan

Reputation: 1

if there is a page asking for an address to connect your flutter app to devtools, then there is an address in you terminal when you run the flutter app, just paste the address onto the devtools page

Upvotes: 0

Teslauder
Teslauder

Reputation: 13

For me, this works:

  "dart.devToolsLocation": {
    "default": "external"
  },

Now by default devtools run on the browser

Upvotes: 0

Rmk930
Rmk930

Reputation: 51

"dart.embedDevTools": false 

is not relevant anymore, instead you should use:

"dart.devToolsLocation": "external"

Upvotes: 5

Rongix
Rongix

Reputation: 41

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

Upvotes: 4

Alexnorie.ga
Alexnorie.ga

Reputation: 61

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.

Upvotes: 6

Twelve
Twelve

Reputation: 276

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

Upvotes: 12

Related Questions