More places you can debug with a REPL

Debugging by starting a REPL at a breakpoint is fun

This was a really interesting read about debugging using REPLs. Two more to add to the list are:

  • .NET using visual studio’s immediate mode (I think that’s what it’s called)
  • LLDB in Xcode (and probably outside of Xcode too).

I am a huge proponent of using the debugger statement in JavaScript. Debugging allows you to be able to see something at a moment in time and also inspect and execute other things. It’s like freezing time. I am generally not a fan of print statement debugging, but I recognize that sometimes you have to do what you have to do. 🤷🏽‍♂️