debug flow