I have a post / talk on mental models and techniques for debugging (as well as specific advice for debugging JS):
- https://blog.isquaredsoftware.com/2021/06/presentations-debu...
I also recently did an episode of the Learn with Jason show where we talked about a lot of these concepts:
- https://www.learnwithjason.dev/travel-through-time-to-debug-...