rasitayaz · GitHub

Describe the bug
Outputs of the log() function from dart:developer import is not showing up at the debug console anymore unless you run the app using "Run > Start Debugging". This was not the case before, I was able to see the logs on my console using "Run > Run Without Debugging" option.

I sometimes need to output long data on my console but this is not seem to be possible using print() since it truncates the text. I also don't want to use debugging mode while developing my application because the app runs too slow and it gets interrupted for every exception.

flutter/flutter#135445

To Reproduce
Steps to reproduce the behavior:

  1. Import dart:developer into your dart code
  2. Log something using log() function
  3. Run the app using "Run > Run Without Debugging"

Expected behavior
Log output to be displayed on debug console.

Please complete the following information:

You can run the Dart: Collect Diagnostic Information command from the VS Code command palette (F1) to easily capture this information or provide it manually.

  • Operating System and version: macOS Sonoma 14.1.2
  • VS Code version: 1.84.2
  • Dart extension version: v3.78.0
  • Dart/Flutter SDK version: 3.16.2
  • Target device (if the issue relates to Flutter debugging): iOS Simulator, macOS, Android Emulator, Web

Read the original on github.com ↗