Add stdout output for tracing