batch debugging