VS: How do I attach to a process in a chiseled container?
I am switching our containers to the new chiseled ones, and they run great! But one of my standard debug processes is to attach Visual Studio to the container process when I want to do step through the code.
It seems that because the container is effectively an appliance, VS can't connect and do a 'ps' to get the list of processes to display for options to attach to, and so we get an error 'make sure it's a linux container'. That sentence may be a little tricky to parse so let me know if I can clarify.
Does anyone know how to connect to a process in a chiseled container, using VS (2022 17.11.0 preview 5, if it helps).
I don't know where best to ask this question so if this is not the correct place, I would appreciate any ideas on where it would be best to ask!
0 Replies