在VS 2017中debugging运行docker容器
我怎样才能在Visual Studio 2017中debugging运行docker容器? 我尝试使用远程debugging器按照每个post 。 但是,当我尝试执行命令:
docker exec -it <id/name> "C:\Program Files\Microsoft Visual Studio 15.0\Common7\IDE\Remote Debugger\x64\msvsmon.exe" /nostatus /silent /noauth /anyuser /nosecuritywarn
,
我收到一个错误:
rpc error: code = 2 desc = oci runtime error: exec failed: container_linux.go:262: starting container process caused "exec: \"C:\\\\Program Files\\\\Microsoft Visual Studio 15.0\\\\Common7\\\\IDE\\\\Remote Debugger\\\\x64\\\\msvsmon.exe\": executable file not found in $PATH"
试图手动运行debugging器,它启动没有任何问题。 我正在使用VS 2017社区,我已经下载适当的远程工具。
我想运行远程debugging器运行容器,然后将该进程附加到VSdebugging。
有没有人有一个想法,我错过了什么?