VS Code for Edge Extension Development

hz 1 Reputation point
2021-06-06T20:48:41.76+00:00

Hello,

I developing an Edge extension and doing the "code/save, switch to Edge, reload extension, reload page, enable extension, reload page" dance, for every code change - extremely painful.

I'm hoping the Edge extension for VS Code will help. I've tried it, though I can't find a way to enable an extension in the Edge that's embedded in VS Code.

So I have two questions:

-- any way to enable an extension in the embedded Edge?

-- any other ideas/strategies for minimizing the painful code/reload tango for extension development.

Thank you,

Hans

Microsoft Edge
Microsoft Edge
A Microsoft cross-platform web browser that provides privacy, learning, and accessibility tools.
2,543 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Yu Zhou-MSFT 15,261 Reputation points Microsoft External Staff
    2021-06-08T03:32:37.387+00:00

    Hi @hz

    We can't debug extensions in VS code Edge extension.

    I know you feel inconvenient when debugging Edge extensions, but AFAIK the only way to debug Edge extensions is debugging them in Edge browser.
    You can sideload the extension in Edge according to this doc then debug it. You can also refer to this doc about debugging extensions as Edge now use the same chromium engine as Chrome, so you can refer to the Chrome doc.

    If you have any issue when developing an Edge extension or have any feedback about Edge extension, you can refer to this doc about where to request help and provide feedback.


    If the response is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    Regards,
    Yu Zhou

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.