microsoft / azure-tools-for-java

Azure tools for Java, including Azure Toolkits for Eclipse, IntelliJ and related projects.
Other
240 stars 161 forks source link

Make Azure Toolkit for IntelliJ compatible with all jetbrains IDE #5629

Open gagarine opened 3 years ago

gagarine commented 3 years ago

This https://plugins.jetbrains.com/plugin/8053-azure-toolkit-for-intellij/ should be compatible with all jetbrains IDE not only IntelliJ. Especially it should be compatible with the PHPStorm, WebStorm and PyCharm.

andxu commented 3 years ago

hi @gagarine , we are approaching your expectation by splitting our repos into small separated modules, could you please tell us what functionalities you want in PHPStorm, WebStorm and PyCharm? Only azure explorer?

gagarine commented 3 years ago

For me what would be primarily useful is "Azure Web App Workflow: Run your web applications on Azure Web App and view logs.". I moved from VS code plugin to use az cli, so I can live without it, but it's a nice to have. I believe those kind of tools are useful when you start a project, or want try something quick. When the project is more mature, you move to a proper CI/CD.

But even with proper CI/CD, being able to see the deployment process and have alert such as "Deployement X failed", with a link to open the log tail in your IDE would be very nice. Specially if then I can directly SSH in the container for example.

Azure Explorer, definitely nice to have.

If I can have a log of the command launched by the plugin, then this would then be a great learning ressource for the AZ cli.

Last, helping with configuration of debugging capabilities between Azure and my local IDE...

andxu commented 3 years ago

Thanks @gagarine for your detailed advises, for azure cli command, we are making a new library similar to azure cli and using this library to replace all the tasks in azure toolkit, see here for example, we are planning to making all the background azure tasks similar to a series of az commands, and we can then provide the equivalent az commands in future.

ssh to webapp is available in azure explorer now and I will improve in this month(version 3.56.0) to fix the high failure rate.

for debugging capabilities, local debug of webapp/functions/spring cloud is possible, while remote debug may have some problems(which needs the change at server side to open debug port), you can leverage ssh or log streaming in azure explorer to troubleshoot, you can also refer to Diagnose and solve problems in portal to troubleshoot.

image

wolfgangas commented 3 years ago

@andxu For debugging an Azure function app in PyCharm we currently use this workflow:

Based on posts like this one: https://medium.com/airwalk/debugging-azure-functions-in-pycharm-c666e1cc5d98

Do you have a better process for local debugging? Since Azure toolkit does not exist for PyCharm, debugging is really a bit annoying. PyCharm is one of the most popular IDEs for web development, there should be a better workflow than the one shown above.

oldmangreg commented 1 year ago

Hello, Is there any update on where this request is in the backlog? Azure is increasing market share and myself and several colleagues will be significantly less productive if we have to convert from our WebStorm/PyCharm IDEs to VS Code. Thank you!