Dropsource / monarch

Monarch is a tool for building Flutter widgets in isolation. It makes it easy to build, test and debug complex UIs.
https://monarchapp.io
MIT License
433 stars 22 forks source link

Pipe the stdout from the user project to the Monarch CLI #63

Closed fertrig closed 1 year ago

fertrig commented 1 year ago

When user code (stories or widgets) uses the print function or writes to stdout, the output is not shown in the Monarch CLI, which makes it difficult for users to see what's going on.

Find a way to pipe the user code's stdout to the Monarch CLI without forwarding all the logging Monarch does.

fertrig commented 1 year ago

This is already possible with the debugPrint function. I added this capability to the docs.