Adding debug_mode signal.