Unable to launch browser: "Unable to find a Chrome installation on your system. Try installing it, or providing an absolute path to the browser in the “runtimeExecutable” in your launch.json.
bug前提:
确保你的chrome浏览器快捷方式配置了 --remote-debugging-port=9222
即
之后,确保在你的 lanch.json 里配置了正确的需要调试的文件的路径
解决bug:
vs code中的debugger for chrome 插件 如果chrome浏览器不在C盘,则还需加上 runtimeExecutable 信息,即当前计算机的chrome浏览器的绝对路径
之后按F5,debugger for chrome正常运行