Add debug option and debug_out calls