JavaDebugOptions are global now. That is an issue.
If you add the address= attribute to your JavaDebugOptions
and you have let's say HTTP,DOTS in your Servertasks= notes.ini variable, then Domino will crash.
HTTP binds on port 8000 on startup, and as soon as DOTS starts, it complains that port 8000 is already in use.
Next, Domino crashes.
You can omit the address= attribute. Then the debugger will assign random ports to each service.
This is OK, but you have to change your Eclipse Debug Configuration each time you start debugging.
It is not uncommon to have HTTP AND DOTS running at the same time, but you only might need one of the services available for debugging.
A fixed port number is preferred.
Can we have a server setting to tell which of the tasks should be available for debugging?
HTTP would be available as a service but the address specified in JavaDebugOptions would be assigned to the DOTS task exclusively.