如何在不部署的情况下调试和开发 Azure DevOps 扩展? [英] How to debug and develop Azure DevOps extension without deployment?

查看:24
本文介绍了如何在不部署的情况下调试和开发 Azure DevOps 扩展?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想开发一个简单的 Azure DevOps 扩展,在表格中显示一些数据.我的扩展基于 扩展示例.

I want to develop a simple Azure DevOps extension which displays some data in the table. My extension is based on extension sample.

我可以在没有描述的完整部署过程的情况下在 Azure DevOps 之外调试这个扩展吗这里?作为 Azure DevOps 的完全新手,我无法想象我应该部署每个更改的开发周期.或者可以以某种方式自动化部署?

Can I debug this extension outside Azure DevOps without the complete deployment process described here? As a complete newbie to Azure DevOps I cannot imagine my development cycle when I should deploy every single change. Or can be deployment automated somehow?

推荐答案

您可以使用 Azure DevOps 扩展热重载和调试.

下载并安装以下工具:

  • Visual Studio 代码
  • Firefox(因为适用于 Chrome 扩展的 VS Code Debugger 尚不支持 iframe)
  • Firefox VS Code 扩展调试器
  • tfx-cli npm 包
  • webpack npm 包
  • webpack-dev-server npm 包

在上面的 GitHub 存储库中,您可以找到有关如何在不部署扩展的情况下调试扩展的完整教程.另一个教程也可用此处.

In the above GitHub repo, you can find the full tutorial of how to debug the extension without deploying it. another tutorial also available here.

这篇关于如何在不部署的情况下调试和开发 Azure DevOps 扩展?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆