more debug info in preview mode