Fix debug coercion code generation
Work on wrapper function pipeline