question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Image.network fails in VSCode debug, works with flutter run --debug

See original GitHub issue

I’m cross-posting this here because it looks like a Dart-Code bug, not a flutter/flutter bug.

https://github.com/flutter/flutter/issues/73109

Possibly related to https://github.com/Dart-Code/Dart-Code/issues/3072 since it is divergent behavior based on running with VSCode debug or flutter run --debug

I do not have a reproduction available, unfortunately.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
DanTupcommented, Mar 4, 2021

Yeah, you should be able to just set it in the Workspace Settings:

Screenshot 2021-03-04 at 18 49 13

(I intended to close this, but apparently didn’t - we can reopen if it doesn’t seem to be the above though. Thanks!)

0reactions
lukepighetticommented, Mar 5, 2021

Thanks for the blazing fast support and bringing this issue to a close. Really appreciate it.

Read more comments on GitHub >

github_iconTop Results From Across the Web

when I've tried to run my flutter in vs code it gave this error in ...
1 Answer 1 · Run the Dart: Capture Debugging Logs command from the command palette · Try to run the app to generate...
Read more >
Flutter's build modes
Describes Flutter's build modes and when you should use debug, release, or profile mode. ... The command flutter run --release compiles to release...
Read more >
Setup Visual Studio Code's Network Connection
Troubleshooting. Here are some helpful links that might help you troubleshoot networking issues in VS Code: Network Settings · Debugging problems with the ......
Read more >
The better way to debug your code in Flutter | by Jiten Patel
I tried to use this method but somehow and sometimes it shows me the error that “The method debugPrint() isn't defined” I mean...
Read more >
Four Easy Ways to Debug Network Requests in Flutter
When I first started working with Flutter, I was surprised to find that it has no built-in tooling to debug network requests. While...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found