VSCode在连接到Windows泊坞窗容器上的远程debugging器时挂起在断点上
将VSDB.exe与代码clr远程debugging器连接到VSCode中的一个Windows Docker容器中的一个运行进程的dotnet时,应用程序进入debugging模式,并检索一个线程列表并显示debugging输出,但是当我点击一个断点时,VS代码挂起并停止debuggingclosuresdocker容器。 使用相同的debugging器在本地工作正常。 这是在Docker或VSCode的问题?
docker信息
Server Version: 17.06.0-ce Storage Driver: windowsfilter Windows: Logging Driver: json-file Plugins: Volume: local Network: l2bridge l2tunnel nat null overlay transparent Log: awslogs etwlogs fluentd json-file logentries splunk syslog Swarm: inactive Default Isolation: hyperv Kernel Version: 10.0 15063 (15063.0.amd64fre.rs2_release.170317-1834) Operating System: Windows 10 Enterprise N OSType: windows Architecture: x86_64 Debug Mode (client): false Debug Mode (server): true File Descriptors: -1 Goroutines: 39 System Time: 2017-07-19T12:13:06.0721766-07:00 EventsListeners: 0 Registry: https://index.docker.io/v1/ Experimental: true Insecure Registries: 127.0.0.0/8 Live Restore Enabled: false
我在下面包含了本地debugging和远程debugging的debugging器输出日志
Dockerfile
FROM microsoft/nanoserver FROM microsoft/aspnetcore-build COPY ./tools/coreclr-debug-win7-x64 ./debug/coreclr-debug COPY ./Clients/Client.Web.Identity.Client.MVC ./Clients/Client.Web.Identity.Client.MVC WORKDIR ./Clients/Client.Web.Identity.Client.MVC RUN dotnet restore Client.MVC.csproj RUN dotnet build Client.MVC.csproj
运行图像:
docker run -d idsrv4-mvc-dev-src dotnet run http://*:60720
远程debugging任务
{ "name": ".NET Core Remote Attach", "type": "coreclr", "request": "attach", "pipeTransport": { "pipeProgram": "powershell", "pipeArgs": ["docker exec -i heuristic_goodall" ], "pipeCwd": "${workspaceRoot}", "debuggerPath": "c:\\debug\\coreclr-debug\\vsdbg.exe" }, "processId": "1816" },
Launch.json中的本地debugging任务
{ "name": ".NET Core Local Attach Using Explicit Debugger", "type": "coreclr", "request": "attach", "processId": "${command:pickProcess}", "pipeTransport": { "pipeProgram": "powershell", "pipeArgs": [], "pipeCwd": "${workspaceRoot}", "debuggerPath": "C:\\tools\\coreclr-debug-win7-x64\\vsdbg.exe" } }
从远程debugging日志logginghttps://pastebin.com/kxV7MMRA
从本地debugging日志https://pastebin.com/7gX6tZQ6
- Docker上的debugging会抛出一个错误
- 无论使用ITicketStore还是IDistributedCache,重新启动服务器时,身份validationCookie都会停止工作
- networking唤醒 – Linux – .Net核心
- 通过docker容器从控制台应用程序连接到redis
- Dotnet Core从Mac发布到IIS
- 部署.NET Core 1.1应用程序到Docker – 无法parsingCoreCLRpath
- dotnet核心SDK /运行在Debian的debian中
- Bitbucketpipe道。 无法指定windowsservercore泊坞窗图像
- rabbitmq优雅的出口应该等待事件处理者