I think, when application starts rbkit should send some basic information about the App such as: 1. Current working directory. 2. PID of process. 3. <whatever else you can think of> Lets make it extensible at protocol level.