Adding a debug in System Scheduler