I would also not normally connect to a REPL in a production environment, but it can come in handy.
One can certainly attach a debugger to a running process in production, I've done it several times to debug gnarly issues.
One can certainly attach a debugger to a running process in production, I've done it several times to debug gnarly issues.