When developing two B4J applications at the same time (for instance: a client and server), the debuggers try to use the same ports. I assume. If you run the first app in debug mode; then try to run the second app in debug mode as well, it fails with a log message of
Waiting for debugger to connect...
shell switching to alternate port: 9054
shell switching to alternate port: 9055
Trying to run it again gives a messagebox saying that it failed to connect.
Trying a third time succeeds.
I would like for the debugger to switch ports or whatever it needs to do to do this itself automatically. Alternatively, to be able to specify, in the IDE project what ports (or, again, whatever) the debugger needs to run on.
Having to try to debug run the second app 3 times each time a change is made to the first one takes a lot of time.
Waiting for debugger to connect...
shell switching to alternate port: 9054
shell switching to alternate port: 9055
Trying to run it again gives a messagebox saying that it failed to connect.
Trying a third time succeeds.
I would like for the debugger to switch ports or whatever it needs to do to do this itself automatically. Alternatively, to be able to specify, in the IDE project what ports (or, again, whatever) the debugger needs to run on.
Having to try to debug run the second app 3 times each time a change is made to the first one takes a lot of time.