Jetbrains Rider 远程调试 ASP.NET 通过 SSH 的 Core 6.0 应用程序一直失败

Jetbains Rider remote debugging ASP.NET Core 6.0 apps through SSH kept failing

我正在尝试通过 ssh 在阿里的 ubuntu 主机上进行远程调试,但没有成功。我使用的是最新的 Rider,2022.1 EAP 10。

错误是:

Debugger worker was not initialized within 100,000 ms

我在阿里云运行ning Ubuntu 20.04 64位。附带一提:对于 Jetbrains documents 的以下步骤,我未能成功:

cd /[application path]/WebApplication to go to the application root folder.

chmod +x ./WebApplication to add the executable bit if needed.

ASPNETCORE_URLS=http://0.0.0.0:5000 ./WebApplication to run the application

WebApplication 是一个目录,OS 甚至在 chmod+x 之后一直抱怨它是一个目录。我设法 运行 自包含的可执行文件。

最好在 JetBrains public 问题跟踪器中提出此类问题。

此问题应该已在下一个 Rider 版本中修复: https://youtrack.jetbrains.com/issue/RIDER-76083