Add python print statement to debug