Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Flutter debugPrintNew to Visual Studio Code? Get it now.
Flutter debugPrint

Flutter debugPrint

flutter-debugprint

|
2,750 installs
| (0) | Free
Help insert and remove print(*) statement
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

img

Support

Flutter debugPrint is an extension created for Visual Studio Code.

Flutter debugPrint

Easily insert and remove debugPrint('variable: $variable'); statement.

Version Install Downloads Ratings

Usage Examples

This extension overrides the shortcut for Select all occurrences of current selection - Ctrl+Shift+L on Windows and Linux and Cmd+Shift+L on macOS, however you can still use Ctrl+F2 to execute same command.

Print for variables

Select the variable that you want uses print statement and press Ctrl+Shift+L on Windows, Linux or macOS.

Usage

Print for object properties

Select the object properties that you want uses print statement and press Win+Shift+L on Windows and Linux or Cmd+Shift+L on macOS.

Usage

Remove all print statements

To remove all print statements and press Win+Shift+D on Windows and Linux or Cmd+Shift+D on macOS.

Usage

With Custom Log Class

Create a custom log class.

import 'dart:developer' as developer;

class Log {
  Log._();

  static void print(String value) {
    developer.log(value, name: 'LOG');
  }

  static Object? inspect(Object? object) {
    developer.inspect(object);
  }
}

Log.print() for variables

Select the variable that you want uses a custom Log.print statement and press Win+Ctrl+L on Windows and Linux or Cmd+Ctrl+L on macOS.

Usage

Log.print() for object properties

Select the object properties that you want uses a custom Log.print statement and press Win+Alt+L on Windows and Linux or Cmd+Alt+L on macOS.

Usage

Log.inspect() for variables

Select the variable that you want uses a custom Log.inspect statement and press Win+Ctrl+L on Windows and Linux or Cmd+Ctrl+L on macOS.

Usage

That's all, Enjoy!

original source: https://marketplace.visualstudio.com/items?itemName=ricardo-emerson.flutter-print

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft