add print statement for signal debug