Cloud Explorer等效调试VS2022用于上传到存储的Zipped已发布的代码?
发布不提供托管选项。 href =“ https://stackoverflow.com/questions/69549657/visual-studio-2022-debug-on-remote-azure-server”> stackoverflow答案不对我有用。另外,我已经将函数应用程序连接到了连接的服务,然后单击“附加调试器”,但是执行后它不会停止代码,即逐步代码进行调试,无法像Cloud Explorer一样工作。
Cloud explorer in VS2022 has been removed. I publish & zip the code and upload it to Azure in a private azure storage account that then runs Function Apps (running from a package file). How can I debug remotely like I used to do with clould explorer?
Publish does not offer the Hosting option. so the Stackoverflow answers don't work for me. Also I have connected the Function App to Connected Services and I click on Attach debuger but it does not stop the code when executed, i.e. step-in code to debug doesn't work like Cloud Explorer did.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
部署后检查一些设置。
访问Visual Studio and Gote Took Tool,然后选择“获取工具和功能”。您只需要进行Azure开发即可。如果未安装此存储模拟器后,自动安装了该模拟器,请访问Microsoft网站并安装此。

如果已安装,则可以使用此命令来运行它。
azurestorageemulator.exe start
。有关由Microsoft文档将配置从发行版更改为调试。

检查是否连接了存储模拟器显示。

然后添加visiual Studio和Run Run函数上的Break Point。它正在工作,

使用此选项远程连接调试。因为在Visual Studio 2022中未显示Cloud Explorer。

After deployment checks some settings.
Go to visual studio and go-to tool and select get tool and features. You just need to take Azure development. after this Storage Emulator is automatically installed if not installed go to the Microsoft site and install this.

If installed you can run it by using this command.
AzureStorageEmulator.exe start
. More information about Azure Storage Emulator for Development and testing by Microsoft Document onChange Configuration from Release to Debug.

Check whether Storage Emulator show is connected or not.

Then add break point on visiual studio and run function . it's working,

Using this option to attach debug remotely. because in visual studio 2022 not show Cloud Explorer.
