question

hz-3170 avatar image
0 Votes"
hz-3170 asked YuZhou-MSFT edited

VS Code for Edge Extension Development

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

ms-edge
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

YuZhou-MSFT avatar image
0 Votes"
YuZhou-MSFT answered YuZhou-MSFT edited

Hi @hz-3170

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


5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.