Fix bug in debug_to_file
Fix bug in debug_to_file

psuriana/Halide,ronen/Halide,ronen/Halide,psuriana/Halide,ronen/Halide,kgnk/Halide,kgnk/Halide,psuriana/Halide,jiawen/Halide,kgnk/Halide,jiawen/Halide,psuriana/Halide,ronen/Halide,psuriana/Halide,jiawen/Halide,ronen/Halide,ronen/Halide,jiawen/Halide,kgnk/Halide,ronen/Halide,kgnk/Halide,ronen/Halide,jiawen/Halide,psuriana/Halide,kgnk/Halide,jiawen/Halide,kgnk/Halide,jiawen/Halide,kgnk/Halide,psuriana/Halide