How to debug and develop Azure DevOps extension without deployment?
Asked Answered
T

1

11

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

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?

Talkfest answered 22/11, 2019 at 16:56 Comment(0)
H
14

You can use the Azure DevOps Extension Hot Reload and Debug.

Download and install the following tools:

  • Visual Studio Code
  • Firefox (because the VS Code Debugger for Chrome extension doesn't support iframes yet)
  • The Debugger for Firefox VS Code extension
  • The tfx-cli npm package
  • The webpack npm package
  • The webpack-dev-server npm package

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.

Hennie answered 24/11, 2019 at 7:52 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.