How to access the UnityStartInfo when run/debug with StandAlonePlayer configuration?

Context:

Rider version 2025.3, C#-based plugin development

We use a embedded mono source built library (not executable) inside an UnrealEngine (rather than Unity)

From this feature issue RIDER-11810 Support mixed-mode debugging we find that rider supported the mixed mode debugging, then started trying this feature eagerly.

But found out, this feature currently only support mono executable version for non-Unity environment, making it kind of inconvenient to configure the mono listening port for the mono SDB, as it should be setup when launching the mono runtime, but we have no way to inspect the port that the debuggerwork picked at the launch time, nor able to config the port in the debug configuration.

It could be better to expose the mono address and port config in the debug configuration just like Mono Remote or Attach Unity Player, but at the moment I can only think of develop a plugin to hookup the debug launch procedual and manage to get the UnityStartInfo, then pass the monoPort to our mono launch variable.

Lacking of Debugger-related documentation, I need some guidance to develop this feature.