Reputation: 999
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
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
Reputation: 13
For me, this works:
"dart.devToolsLocation": {
"default": "external"
},
Now by default devtools run on the browser
Upvotes: 0
Reputation: 51
"dart.embedDevTools": false
is not relevant anymore, instead you should use:
"dart.devToolsLocation": "external"
Upvotes: 5
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
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
Reputation: 276
Update VSCode to the newest Version.
Update Flutter
Now run your Project and then click [ctrl] + [alt] + [d] for running dart devtools. VSCode is asking you where you wish to open DevTools.
Upvotes: 12