My web app has a problem that only manifests in profile and release builds (a widget is not rendering properly, producing only gray). I want to add some print() statements to help figure out what the problem is, but print() doesn't log anything to VSCode debug output window in profile/release builds.
Any ideas how to fix that?
What other techniques can I use to diagnose release-only problems?
Thx