Move output to debug_print()