All arguments set in nodeOptions are used to execute the wrapper service and then reused, to call the service itself.
If --inspect or --inspect=<portnum> (where portnum !=0) is provided as nodeOptions it prevents from starting the service, as the wrapper process is already bound to desired port.
My expectations is that nodeOptions should be passed only to the service nodejs process and not at all to wrapper process or at least there should be a way to provide nodeOptions that will be used only by service process and not by wrapper process.
All arguments set in
nodeOptions
are used to execute the wrapper service and then reused, to call the service itself.If
--inspect
or--inspect=<portnum>
(where portnum !=0) is provided as nodeOptions it prevents from starting the service, as the wrapper process is already bound to desired port.My expectations is that
nodeOptions
should be passed only to the service nodejs process and not at all to wrapper process or at least there should be a way to providenodeOptions
that will be used only by service process and not by wrapper process.