https://www.theskillcraft.tech/2021/12/debugging-asynchronous-javascript.html