https://foojay.io/today/debugging-threads-and-asynchronous-code/
Debugging Threads and Asynchronous Code