I have a situation where I want to debug two .NET applications in two different instances of Visual Studio using your extension V1. On both applications network is in host mode. I can run either one, but not both at the same time. Extension is giving me errors: “Port should be >= 0 and < 65536. Received type number (-1).” and “Error starting application container.” when I try to start second application while the first one is running. I think there is a problem with port 2222 where extension are making SSH connection for debugging console for second application which is already open for the first application.
Can I change the port of SSH connection for debugging console? Or is there any other solution?
I also tried to start the container manually without the extension, but I also have problems where when I try to start the image created by the extension manually through the Linux terminal with the docker run command that I extract from Visual Studio using Torizon: extract docker command line, the application does not start. When I enter the console of the running container, it is empty and there are no files related to the application. Do I have to run it manually with dotnet run or do I have to do something else?
I use .NET6 and arm64 60 bullseye type containers.