Description
When the same debug configuration is used for multi-target debugging (e.g same configuration used to attach to 2 processes on two different ports). The debugging UI widget (the one with step/next buttons) shows a dropdown (say the debug configuration is named "Debug Session") with "Debug Session 1", "Debug Session 2", etc.
Would it be possible to add an option in the configuration of launch.json
to customize the names dynamically e.g "Debug Session ${input:port}". This can be done directly in the "name" property but, it is kind of a hack, because it shows literally the "${input:port}" string when displayed in the UI "Run and Debug" and only subsitute to the port number when added to the UI widget when a debug session is running. E.g
I would propose to modify the name
property like {"name": {"static": "Debug Session", "session": "Debug Session ${input:port}"
to have a better UX experience