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