You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/workspace/content-panel.md
+57-1Lines changed: 57 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -82,7 +82,7 @@ The Code editor is built on **Monaco Editor** (the same editor that powers VS Co
82
82
83
83
The Debug Console is a dedicated output panel in Dreamflow that displays real-time logs and debug information from your Flutter application. This includes:
84
84
85
-
- Print statements from your Dart code
85
+
-[Print statements from your Dart code](#print-statements-from-your-dart-code)
86
86
- Flutter framework messages
87
87
- Hot reload notifications
88
88
- Build process output
@@ -115,6 +115,62 @@ The Debug Console is a dedicated output panel in Dreamflow that displays real-ti
115
115
</div>
116
116
<p></p>
117
117
118
+
### Print Statements From Your Dart Code
119
+
120
+
You can use `print()` or `debugPrint()` in your code to send messages to the Debug Console. These print statements are helpful for tracking user actions, data updates, or debugging logic while your app runs in preview mode.
121
+
122
+
#### Quick Example
123
+
124
+
You can add a log message directly in code when a user taps the **Add Habit** button like this:
0 commit comments