新版Vscode无法打开Chrome,报错Open browser failed! Please check if you have installed the browser chrome

出现的问题是:Open browser failed!! Please check if you have installed the browser chrome correctly!

下面的方法是我尝试过的,行不通。

1、通过修改自定义tasks.json配置文件,设置默认浏览器的路径(最麻烦的一种)

2、用360,腾讯电脑管家等软件设置默认浏览器为Chrome

新版Vscode无法打开Chrome,报错Open browser failed! Please check if you have installed the browser chrome

3,

在open-in-browser中设置默认浏览器为chrome

新版Vscode无法打开Chrome,报错Open browser failed! Please check if you have installed the browser chrome

 

-------------------------------------------------------分割线-------------------------------------------------------

博主经过思考巧妙地解决了这个问题~

原来是因为Vscode版本更新产生的不兼容问题。因为open in browser插件更新导致的。

这一2.0版本的更新插件事件发生在一两年前,因此网上各种说明此问题的博文都是一两年内写的。

直接上图吧:

新版Vscode无法打开Chrome,报错Open browser failed! Please check if you have installed the browser chrome

新版Vscode无法打开Chrome,报错Open browser failed! Please check if you have installed the browser chrome

 新版Vscode无法打开Chrome,报错Open browser failed! Please check if you have installed the browser chrome

总之,只要不装2.0版本的就行了

 新版Vscode无法打开Chrome,报错Open browser failed! Please check if you have installed the browser chrome

成功打开Chorme!!!

觉得本文有用的朋友麻烦在右上角点个赞哦 ,如果还有其他的问题欢迎评论区留言。