.laya/launch.json
修改runtimeExecutable
{
...
"configurations": [
{
"name": "layaAir",
...
},
{
"name": "chrome调试",
...
// "换成自己的谷歌安装路径,": 比如
//window 默认安装路径为: "C:/Program Files (x86)/Google/Chrome/Application/chrome.exe"
//mac 系统上的默认安装路径为 "/Applications/Google Chrome.app/Contents/MacOS/Google Chrome";
// "runtimeExecutable": "C:/Program Files (x86)/Google/Chrome/Application/chrome.exe",
...
}
]
}