To get sources: git-clone http://iris-comp.ru/public/git/rrepl.git
I use this package to debug termite threads on cluster of computers.
Brief documentation with examples is inside the package.
Short list of functionality: 1. REPL server 2. REPL multiplexer 3. Various functions to start repl on exception, to connect repl via tcp/ip and so on.
Main principles of design: 1. Ability to construct huge debugging networks (thanks to multiplexer functionality) 2. Flexibility of design 3. And tolerance to various networking problems, such as unexpected channels termination an so on.
Vasil