So while developing some mods it is pretty helpful to have 2 instances of PA running. However this has one drawback: The debugger runs on port 9999. Because of this only the first of the 2 instances can be attached to the UI debugger. Can the port somehow be configured?
I have a netbook It is far easier to handle when everything is on one machine. Apart from those ports...
I checked few ideas and find workaround for you: By default Coherent listen on 127.0.0.1 so you can just run second copy on 127.0.0.2/3/4/5/etc. Just copy game to other directory. Open CoherentUI_Host.exe with any binary-safe text editor. I personally used Notepad++. Find "127.0.0.1" with "Coherent UI View" prefix and "/devtools/" suffix. In current Coherent executable it's line 99659. Replace "127.0.0.1" with "127.0.0.2" or any localnet IP you like. Done, this copy of game will bind debugger port to different IP! PS: I did tried '--remote-debugging-port" and few other Chrome-like ways to rebind debugger, but unfortunately it's looks those flags broken in Coherent and brute force method worked fine.
Actually there is "better" way than VM. Even on Windows you can force any application to use specific interface/IP, e.g using this tool. There have to be "fake" CoherentUI_Host.exe which run real Coherent with DLL injection. It's was my first idea, but on Windows it's pretty hard to put such layer between two executable so I find easier way.
Hey I saw that tool somewhere before. I can't remember anymore what I was trying to do back then though.
I bump this topic because new version of game get new flag "--coherent_port". So now it's possible to choose any port for debugger without modification of executable. I'm also recommend to check my hint on UI debugging for those who didn't seen it: https://forums.uberent.com/threads/hint-improve-ui-debugging-expirience-on-windows-os-x.57888/