Tag: ASP networking核心 MVC 2.0

Visual Studio代码Ubuntu的aspnet core 2容器debugging

我GOOGLE了,看着stackoverflow,但无法find解决办法。 build立: 主机操作系统:Ubuntu ASPNet Core 2 Dotnet 2.0 我有两个容器,一个用于MySQL的容器,另一个用于dotnet核心。 我能够在不安装CLRdebugging器的情况下运行它。 在一个容器中安装CLRdebugging器后,我试图使用Visual Studio代码来debugging运行在该容器中的aspnet core 2应用程序。 我收到以下错误: “pipe道程序”bash“意外退出。” 唯一的select是“打开Launch.json”,而launch.json中只有bash命令是: "pipeTransport": { "pipeProgram": "/bin/bash", "pipeCwd": "${workspaceRoot}", "pipeArgs": ["-c", "docker exec -i devexamapp_debug_1 /clrdbg/clrdbg –interpreter=mi"], "debuggerPath": "/vsdbg/vsdbg" debugging控制台显示如下: 开始:“/ bin / bash”-c“docker exec -i devexamapp_debug_1 / clrdbg / clrdbg –interpreter = mi”“/ vsdbg / vsdbg –interpreter = vscode” 如果我在控制台窗口中运行“/ […]