#Hi, any way to Printf debug from a Go

1 messages · Page 1 of 1 (latest)

dense canyon
smoky night
#

fmt.Printf does print to stdout, i think it's just that the output gets collapsed during the call. The way to do is then to run with dagger call --no-exit and open the steps to see the prints

But I see your point, this API might make sense 👍

dense canyon
#

That's helpful thanks! Maybe dagger could detect an error level output and show it without having to do --no-exit

#

for the record --progress plain also works

fallen gust
#

-vvv (or increasing the verbosity by pressing + in the pretty TUI) will result in all the output being printed after exit so it can be viewed then too