【问题标题】:Is it possible to remotely debug precompiled (not CSX) Azure Functions?是否可以远程调试预编译(不是 CSX)的 Azure Functions?
【发布时间】:2019-01-01 04:19:26
【问题描述】:

debug C# script (CSX) Azure Functions remotely好像可以,请问预编译的C# Azure Functions也可以远程调试吗?

【问题讨论】:

  • 我想这可能是一个缺点。您是否查看了github.com/Azure/azure-functions-host/issues/1672 此处提到的问题?另外,我不确定,但也许本教程可能会有所帮助channel9.msdn.com/Shows/Visual-Studio-Toolbox/…
  • 感谢 @OjasviBhargava 视频已经过时,并且谈论在本地调试 Azure Functions。但是,github线程谈到了似乎对某些人有用的远程调试,谢谢。
  • 在提到的 github 线程中有详细的说明如何使它工作,但是,它仍然对我不起作用。如果您设法对远程进程进行身份验证并获得“断点当前不会被命中。没有为此文档加载任何符号”消息,请确保在 Debug -> 'Attach to Process...' 中选择“Managed (CoreCLR) code”

标签: function azure remote-debugging


【解决方案1】:

按照指令https://github.com/Azure/Azure-Functions/issues/393 如果您设法对远程进程进行身份验证并得到'断点当前不会被命中。 No Symbol has been loaded for this document' 消息,请确保在 Debug -> 'Attach to Process...' 中选择 'Managed (CoreCLR) code' - 这是一个已知的错误,很快就会修复。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2019-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2017-01-13
    • 2017-07-19
    • 1970-01-01
    • 2016-01-14
    相关资源
    最近更新 更多