VSCode print() not showing in Debug Console
See original GitHub issueMy print()
statements are not showing up anymore in the Debug Console of VSCode when running a Flutter application on an iOS device. However when running through Xcode directly they show in the Xcode console.
All I get in the VSCode Debug Console after running is the following:
Launching lib/main.dart on Dimitri Staufer in debug mode...
Automatically signing iOS for device deployment using specified development team in Xcode project: 955FC8LSJ3
Xcode build done. 29.7s
Checking for advertised Dart observatories...
Checking for available port on com.dimitristaufer.awesomeappname._dartobservatory._tcp.local
Checking for authentication code for com.dimitristaufer.awesomeappname._dartobservatory._tcp.local
Flutter Doctor:
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel unknown, v1.9.1+hotfix.4, on Mac OS X 10.14.6 18G103, locale en-GB)
[✓] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
[✓] Xcode - develop for iOS and macOS (Xcode 11.1)
[✓] Chrome - develop for the web
[✓] Android Studio (version 3.5)
[✓] VS Code (version 1.39.1)
[✓] Connected device (2 available)
• No issues found!
Could very likely be some setting, that I haven’t found yet. But I cannot find any similar issue on Github. Thanks in advance.
Issue Analytics
- State:
- Created 4 years ago
- Reactions:3
- Comments:7 (3 by maintainers)
Top Results From Across the Web
VS Code does NOT print output in debug console any more ...
print ('showing bug'); showing bug is NOT being shown in the debug console. You can find it 3x mentioned in the logs. Debug...
Read more >Debugging in Visual Studio Code
As soon as a debugging session starts, the DEBUG CONSOLE panel is displayed and shows debugging output, and the Status Bar changes color...
Read more >No output from print(), df.show() and df.printSchema() in VS ...
show() and df.printSchema() in VS Code debug console. I'm using latest VS code 1.68.1 remote for local development with Azure Databricks cluster ...
Read more >Using console.log() debugging in Visual Studio Code
Using console.log() debugging in Visual Studio Code. Friday, July 30th, 2021 at 11:22 am. Using the new in-built JavaScript debugger in Visual Studio...
Read more >Using console.log() debugging in Visual Studio Code
Visual Studio Code now opens a browser window for you and you can see the console.log() message from the demo code in the...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I found a solution (Temporary) (Windows 10) , 1 > Open the Command Prompt 2 > Type “adb logcat | findstr flutter” to get the output of the flutter application.
** Hint, You can save below line in a *.bat file to make things easier. “cls && adb logcat | findstr flutter”
** For Linux, Run “adb logcat | grep flutter”
what’s the alternative for Mac users . please tell . cause I am getting error - command not found: adb