microsoft / mindaro

Bridge to Kubernetes - for Visual Studio and Visual Studio Code
MIT License
306 stars 106 forks source link

Debug multiple services at the same time using visual studio #329

Open twitecki opened 2 years ago

twitecki commented 2 years ago

Is your feature request related to a problem? Please describe. I need the ability to debug multiple services at the same time using Visual Studio. The documentation has instructions on how to do this with visual studio code: https://docs.microsoft.com/en-us/visualstudio/bridge/parallel-services?view=vs-2019, however I cannot get it to work with visual studio.

Describe the solution you'd like The ability to debug multiple services at the same time using Visual Studio along with documentation on how to set this up.

It isn't clear if this is supported right now or not, but I'm guessing it isn't since I haven't been able to get it to work in trying all permutations of service port configuration options.

In the documentation for setting this up, it would also be very helpful to include what the port configurations need to look like in the Kubernetes service manifest. All of our services today are exposed via the same port in the Kubernetes service to make client calls easy, but we do have the ability to easily change the target port of the service to support these ports locally on a developer machine. A sample app that has the ability to debug multiple services at the same time would help a lot.

Describe alternatives you've considered Visual studio is an important tool in our toolchain, and it would be very difficult to move off of it organizationally to vscode.

Additional context I have been using minikube when experimenting with launching multiple debug sessions from visual studio.