https://www.theskillcraft.tech/2022/08/debugging-asynchronous-javascript.html