azure - 找不到远程调试 Azure Functions 符号

标签 azure remote-debugging azure-functions

我正在尝试远程调试 azure 函数。所以我关注了youtube视频http://www.youtube.com/watch?v=uiqc0iWwAzw&t=17m10s 但是当我附加调试器(到 w3wp.exe)时,断点将永远不会被命中。

断点有一个空心圆圈,并指出:“当前不会命中断点。尚未为此文档加载任何符号。”

'w3wp.exe' (CLR v4.0.30319: /LM/W3SVC/1060585570/ROOT-1-131176201993551687): Loaded 'ƒ-HttpTriggerCSharp1#ℛ*5465853b-4ded-4374-bb31-e99c9fc6cc71#1-0'. Cannot find or open the PDB file.
'w3wp.exe' (CLR v4.0.30319: /LM/W3SVC/1060585570/ROOT-1-131176201993551687): Loaded 'ScriptHost'. 
'w3wp.exe' (CLR v4.0.30319: /LM/W3SVC/1060585570/ROOT-1-131176201993551687): Loaded 'Anonymously Hosted DynamicMethods Assembly'. 

我发现了类似的问题: Remote debugging Azure website: Breakpoints not hit

我还禁用了“仅启用我的代码”选项。

最佳答案

除了禁用“仅启用我的代码”之外,还请确保(在同一对话框中)“要求源文件与原始版本完全匹配”设置也已禁用。

关于azure - 找不到远程调试 Azure Functions 符号,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/39343291/

相关文章:

azure - 无法使用来自 PostMan 的服务主体访问 token 访问 Datalake

sql - 手动填充 Azure 数据库

visual-studio-2010 - 如何附加到在 Windows Phone 模拟器中运行的应用程序?

android - 适用于 Android 的 Google Chrome 远程调试 - "localhost:9222"不可用

.net - Azure函数: There was an error performing a read operation on the Blob Storage Secret Repository

azure - 如何从 Azure 登录到外部程序?

c# - Azure 函数无法访问 mscorelib.dll 访问被拒绝

sql - 如何在 kusto/kql/azure 中取消透视列并将多个列放入一个列中

azure - 如何同时启动2个或更多Azure实例

javascript - 如何使用 Chrome 开发工具调试基于 v8 的远程应用程序