Отладка удаленного основного приложения dotnet через ssh и не удается подключиться - PullRequest
0 голосов
/ 14 ноября 2018

Я пытаюсь отладить приложение ядра dotnet на другой машине (linux) из Visual Studio 2017

Я могу подключиться через ssh к удаленной машине.Я установил отладчик с помощью следующей команды.

sudo apt-get install unzip
curl -sSL https://aka.ms/getvsdbgsh | bash /dev/stdin -v vs2017u5 -l ~/vsdbg

Я не могу подключиться к процессу dotnet (см. Журнал).Могу я попробовать что-нибудь еще?

attach

ProtocolException: Failed to attach to process: Unknown Error: 0x80131c08</p> <p>Microsoft.VisualStudio.Shared.VSCodeDebugProtocol.Protocol.PendingRequest`1.InvokeErrorFuncCore(Object args, ProtocolException ex) Microsoft.VisualStudio.Shared.VSCodeDebugProtocol.Protocol.PendingRequestBase.InvokeErrorFunc(Object args, ProtocolException ex) CallSite.Target(Closure , CallSite , IPendingRequest , Object , ProtocolException ) System.Dynamic.UpdateDelegates.UpdateAndExecuteVoid3[T0,T1,T2](CallSite site, T0 arg0, T1 arg1, T2 arg2) Microsoft.VisualStudio.Shared.VSCodeDebugProtocol.Protocol.DebugProtocol.HandleIncomingResponse(String msg) Microsoft.VisualStudio.Shared.VSCodeDebugProtocol.Protocol.DebugProtocol.HandleIncomingMessage(String msg) Microsoft.VisualStudio.Shared.VSCodeDebugProtocol.Protocol.DebugProtocol.ProcessMessageBody() Microsoft.VisualStudio.Shared.VSCodeDebugProtocol.Protocol.DebugProtocol.ReaderThreadProc()</p> <p>1> ERROR: Failed to attach to process: Unknown Error: 0x80131c08 1> WARNING: Debug adapter is still running after receiving DisconnectResponse, terminating.

...