I'm trying to set up ZeroBraneStudio on a multi-user linux platform there is an issue with running against the debugger server. When one user starts or runs against the debugger server other users are locked out of using the debugger. There is an accompanying error/warning message:
The single instance communication has failed; there may be another instance running, which may cause interference with the debugger.
This occurs whether ZBS is installed globally or in a user's individual $HOME dir and results in all the debugger buttons being grayed out. If I isolate the debugger server PID and kill the process then another user can go ahead and run the debugger but this obviously far from ideal.
There is a way to run multiple instances of the debugger discussed in the Tips and Trick section: https://studio.zerobrane.com/doc-tips-and-tricks
** Run multiple instances of the IDE to debug two applications at the same time** To run multiple instances of the IDE to debug two applications, you can start one instance as you normally do, and then start the second instance using this command: zbstudio -cfg "singleinstance=false; debugger.port = 8173". If you are on OSX, you may need to use open ZeroBraneStudio.app --args -cfg "singleinstance=false; debugger.port = 8173".
but this solution requires users "guess" at an available port number. Is there a better way to implement multiple users running the debugger simultaneously?