[英]Can we debug deployed azure function from intellij?
I have developed a Java azure function and deployed it through IntelliJ(with Azure toolkit plugin support).我开发了一个 Java azure function 并通过 IntelliJ 部署它(带有 Azure 工具包插件支持)。 I can do local run/debug on the function app from ide, as it nicely supports local run/debug.
我可以在 ide 的 function 应用程序上进行本地运行/调试,因为它很好地支持本地运行/调试。
Now the question is, Is there any way to debug code(or jar) that is deployed on Azure function(not sure if this has to be called remote debugging)?现在的问题是,有没有办法调试部署在 Azure 函数上的代码(或 jar)(不确定这是否必须称为远程调试)? I searched through inte.net, was only seeing options to debug the app that is under development in ide(ie, local code), but not able to find a way for deployed version.
我搜索了 inte.net,只看到了调试正在开发中的应用程序的选项(即本地代码),但无法找到部署版本的方法。 Is it possible to do this?
是否有可能做到这一点? or am I over-expecting from ides?
还是我对ides期望过高?
Currently, it is not possible to Remote Debug the function app with Intellij IDE .目前,无法使用 Intellij IDE 远程调试function应用程序。
Here is the workaround I tried to do Remote Debugging of azure Function using Intellij IDE.这是我尝试使用 Intellij IDE 对 azure Function 进行远程调试的解决方法。
After Deploying your function app into azure we can debug using (REMOTE DEBUG) while enabling it into the Azure portal.将 function 应用程序部署到 azure 后,我们可以使用(远程调试)进行调试,同时将其启用到 Azure 门户。 That is possible only in Visual Studio only.
这仅在Visual Studio中才有可能。
After enabling Remote Debug in the Azure portal.在 Azure 门户中启用远程调试后。 The port of related visual studio can enable after enabling this Remote Debugging feature.
相关visual studio的端口可以在开启远程调试功能后开启。 I tried to add the Visual Studio debugging port like (
VS19 - 4024
) remote debugger port assignments & other visual studio port.我尝试添加 Visual Studio 调试端口,例如 (
VS19 - 4024
) 远程调试器端口分配和其他 Visual Studio 端口。
I end up unable to open the port.我最终无法打开端口。
Note:笔记:
In Azure except for the 8080/443 port, other ports are blocked in Azure.
Azure中除8080/443端口外,Azure中其他端口均被屏蔽。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.