从Visual Studio 2017在Chrome中调试网站时启用扩展 [英] Enable extensions when debugging website in Chrome from Visual Studio 2017
问题描述
从Visual Studio 2015切换到2017,我发现启动Web API项目现在会启动一个干净的单独的Chrome窗口.在很大程度上,我喜欢这一点,但是我当然喜欢这个主意:这也意味着 Chrome中缺少扩展名.
是否可以通过Visual Studio 2017启动Web API项目并启用具有扩展功能的Chrome启动?
或者,如果失败了,我可以恢复到原来的行为吗,在该行为下,我的项目在现有的Chrome窗口中以新标签的形式打开?
我尝试了谷歌搜索,但是一无所获.我使用浏览器检查了Visual Studio中的下拉菜单(并检查了使用...浏览"对话框),但那里也找不到解决方案.
您需要做的就是登录到VS2017启动的Chrome实例,以该用户的身份安装了所有常用扩展程序(例如,与您通常登录时使用的用户相同).
此登录粘贴",因此扩展程序将在当前(以及所有后续)调试会话中加载.
Switching from Visual Studio 2015 to 2017 I find that launching a Web API project now starts a clean, separate Chrome window. For the most part I like that, and I certainly like the idea, however: this also means extensions are missing in Chrome.
Is there a way to start a Web API project from Visual Studio 2017 and have Chrome launch with extensions enabled?
Or, failing that, could I revert back to the old behavior where my project is opened as a fresh tab in my existing Chrome window?
I've tried Googling but found nothing. I checked the dropdown in Visual Studio with browsers (and checked the "Browse With..." dialog) but found no solution there either.
All you need to do is to sign-in to the instance of Chrome that VS2017 launches as the user you have all your usual extensions installed under (i.e. sign-in as the same user you usually sign-in as).
This sign-in "sticks", so extensions will load in the current - and all subsequent - debugging sessions.
这篇关于从Visual Studio 2017在Chrome中调试网站时启用扩展的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!