Movatterモバイル変換


[0]ホーム

URL:


Skip to main content

docs.flutter.dev uses cookies from Google to deliver and enhance the quality of its services and to analyze traffic.

Learn more

Flutter 3.41 is live! Check out theFlutter 3.41 blog post!

Run DevTools from VS Code

Learn how to launch and use DevTools from VS Code.

Add the VS Code extensions

#

To use the DevTools from VS Code, you need theDart extension. If you're debugging Flutter applications, you should also install theFlutter extension.

Start an application to debug

#

Start a debug session for your application by opening the root folder of your project (the one containingpubspec.yaml) in VS Code and clickingRun > Start Debugging (F5).

Launch DevTools

#

Once the debug session is active and the application has started, theOpen DevTools commands become available in the VS Code command palette (F1):

Screenshot showing Open DevTools commands

The chosen tool will be opened embedded inside VS Code.

Screenshot showing DevTools embedded in VS Code

You can choose to have DevTools always opened in a browser with thedart.embedDevTools setting, and control whether it opens as a full window or in a new column next to your current editor with thedart.devToolsLocation setting.

A full list of Dart/Flutter settings are available ondartcode.org or in theVS Code settings editor. Some recommendation settings for Dart/Flutter in VS Code can also be found ondartcode.org.

You can also see whether DevTools is running and launch it in a browser from the language status area (the{} icon next toDart in the status bar).

Screenshot showing DevTools in the VS Code language status area

Was this page's content helpful?

Unless stated otherwise, the documentation on this site reflects Flutter 3.38.6. Page last updated on 2025-06-28.View source orreport an issue.


[8]ページ先頭

©2009-2026 Movatter.jp