bat print and debug