如何删除Dart DevTools? [英] How to remove Dart DevTools?
本文介绍了如何删除Dart DevTools?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在尝试使用VS Code开发Flutter.不知何故,我最终使用(意外安装了)Dart DevTools.
I am trying out Flutter with VS Code. Somehow, I ended up using (installed it by accident) Dart DevTools.
每当我运行应用程序或开始调试应用程序时,Dart DevTools就会在浏览器中弹出.
Whenever I run apps or start debugging apps, Dart DevTools pops up on a browser.
如何删除/禁用它?
推荐答案
要禁用DevTools :
打开VS Code设置并搜索 Dart:打开Dev Tools
并将其设置为 Never
.(从settings.json中删除"dart.openDevTools":"flutter"
也可以)
Open VS Code settings and search for Dart: Open Dev Tools
and set it to never
. (Removing "dart.openDevTools": "flutter"
from settings.json should work too)
要卸载/删除DevTools ,您可以运行:
-
pub全局停用devtools
(如果您的路径上有pub
) - 或
flutter pub global停用devtools
(如果您的路径上有flutter
)
pub global deactivate devtools
(if you havepub
on your path)- or
flutter pub global deactivate devtools
(if you haveflutter
on your path)
这篇关于如何删除Dart DevTools?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文