Added sync_out for debugging.

Signed-off-by: Stefan Marr <git@stefan-marr.de>