SSH远程调试工具无声失败 [英] SSH Remote Debugging Tools Silently Fail

查看:75
本文介绍了SSH远程调试工具无声失败的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好!

我通过远程机器上的docker实例在Debian中运行netcoreapp2.0。从Visual Studio 2017开始,我通过SSH工具连接了远程调试工具(并成功验证/选择了正确的进程)。当
我尝试确认调试选择时,Visual Studio看起来似乎正在尝试开始调试,然后停止而不附加到该过程。

I have a netcoreapp2.0 running in Debian through a docker instance on a remote machine. From Visual Studio 2017, I've connected through the remote debugging tools through the SSH tool (and successfully authenticated / selected the correct process). When I try to confirm the debug selection, Visual Studio looks like it's attempting to start debugging, and then stops without attaching to the process.

似乎没有停止时出错,我尝试使用远程计算机上的不同帐户(root和nonroot)。远程调试工具似乎已在计算机上正确安装,因此我不确定如何继续。我还使用调试符号编译了
远程docker应用程序。我该怎么做才能调试这个远程进程?

There doesn't appear to be an error when it stops and I've tried with different accounts (root and nonroot) on the remote machine. The remote debugging tools appear to have installed correctly on the machine, so I'm not sure how to proceed. I've also compiled the remote docker application with debug symbols. What should I do to debug this remote process?

谢谢!

推荐答案

你好jiaccarino ,

Hi jiaccarino,

感谢你的发帖。

不确定你是否已经正确设置了所有内容,但你可以参考这个给出$ b的博客$ b 设置详情

Not sure if you've set everything up correctly, but you could refer this blog which give the details of setup:

https://blogs.msdn.microsoft.com/devops/2017/01/26/debugging-net-core-on-unix-over-ssh/

顺便说一句,目前VS2017的最新更新是
15.4,请更新它并使用最新版远程工具。您可以在下载并安装远程工具部分找到下载链接。 

Btw, currently the latest update of VS2017 is 15.4, please update it and also use the latest version remote tools. you could find the download link at Download and Install the Remote tools section. 

https://docs.microsoft.com/en-us/visualstudio/debugger/remote-debugging

希望以上帮助。

 

祝你好运,

Fletcher


这篇关于SSH远程调试工具无声失败的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆