It can be frustrating to debug an exploit without being able to examine exactly what's going on. Here are some general tips that may be useful for this assignment.
Feel free to share any tips you have with the class.
pwntools can be configured to log all input/output you send and received, along with other useful things. Some of the templates include this already: