added the possibility of printing debug information to Signal