I am trying out Flutter with VS Code. Somehow, I ended up using (installed it by accident) Dart DevTools.
Whenever I run apps or start debugging apps, Dart DevTools pops up on a browser.
How can I remove/disable it?
Dart DevTools is a suite of debugging and performance tools for Dart and Flutter. These tools are distributed as part of the dart tool and interact with tools such as IDEs, dart run , and webdev . The following table shows which tools you can use with common Dart app types. Flutter mobile or desktop. Flutter web.
Once an app is running, you can start DevTools using one of the following in Android Studio: ✔Select the Open DevTools toolbar action in the Run view. ✔Select the Open DevTools action from the More Actions menu in the Flutter Inspector view.
Launch DevTools Clicking the Open button uses pub global activate to activate the DevTools package for you. Next, DevTools launches in your browser and automatically connects to your debug session. While DevTools is active, you'll see them in the status bar of VS Code.
An Observatory debugger and profiler on Android SDK built for x86 is available at: http://127.0.0.1:9200/Swm0bjIe0ks=/ Paste the URL you got from running your app (http://127.0.0.1:9200/Swm0bjIe0ks=/) into the connect dialog to connect your app to DevTools. Hope this helps.
To disable DevTools:
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)
To uninstall/remove DevTools, you can run:
pub global deactivate devtools
(if you have pub
on your path) flutter pub global deactivate devtools
(if you have flutter
on your path) Go to Settings and change the Open Dev Tools Settings to never. If asked after running the app, select Don't Ask again.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With