Adding debug for signals