https://medium.com/@mohitkaushal91/best-practices-for-debugging-and-troubleshooting-code-3f5768863686