Adding debug logging to watch for work dispatching.