#dominoforever | Product Ideas Portal

 

Welcome to the #dominoforever Product Ideas Forum! The place where you can submit product ideas and enhancement request. We encourage you to participate by voting on, commenting on, and creating new ideas. All new ideas will be evaluated by HCL Product Management & Engineering teams, and the next steps will be communicated. While not all submitted ideas will be executed upon, community feedback will play a key role in influencing which ideas are and when they will be implemented.

For more information and upcoming events around #dominoforever, please visit our Destination Domino Page

Java Debugging. Assign port to single task

JavaDebugOptions are global now. That is an issue.


If you add the address= attribute to your JavaDebugOptions


JAVADEBUGOPTIONS=transport=dt_socket,server=y,suspend=n,address=8000

JAVAENABLEDEBUG=1


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?


JavaEnableDebugFor=DOTS


HTTP would be available as a service but the address specified in JavaDebugOptions would be assigned to the DOTS task exclusively.

  • Guest
  • Jun 1 2021
  • Needs review
  • Attach files