Convert debug to llvm raw ostream