Background Tasks in IDE output panel

At the moment, if I start an app from the IDE, I can see any running background tasks in the output panel and I can kill them from there too. Great.

Could we also have the ability to look at the logs for those tasks from there too?

Print from Background Tasks
Is this working for you?

Yes, but not whilst the app is running (I don’t think).

This makes me wonder if there’s print-buffering, or a browser-refresh problem.

There may be any number of background tasks running simultaneously. If their print outputs are buffered (for performance or atomicity – preventing intermingling of characters from different tasks), then there may be a lag between the print call and your seeing the result.

Likewise, if the browser isn’t constantly refreshing.

Ah, sorry, my misunderstanding. Printing from the task works fine. I’d just like to be able to see the whole of the log (for tracebacks when things fail) without having to stop the app.

I might have missed a requirement, but might it be feasible to run the App outside the IDE, and, in a separate browser window, run the IDE to display the log?