3

I created a .Net core 2.1 console application with Linux docker support using Visual Studio 2017. I can run the application using the following command line

docker run myApp arg1 arg2

I want to debug it in VS so I set the project docker-compose as the startup project and debug run "Docker Compose" in Visual Studio. However, is there a way to set up the command line arguments? (arg1 arg2 in my example).

ca9163d9
  • 27,283
  • 64
  • 210
  • 413

1 Answers1

1

Unfortunately there is no easy way to do this right now because of the way VS handles debugging into docker containers.

See this issue for more info: https://github.com/Microsoft/DockerTools/issues/75

Wes
  • 296
  • 2
  • 4