Add debug messages to scheduler