Skip to content

Commit 8faddef

Browse files
committed
update
1 parent aeea2f7 commit 8faddef

3 files changed

Lines changed: 45 additions & 0 deletions

File tree

.laya/launch.json

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
{
2+
"version": "0.2.0",
3+
"configurations": [
4+
{
5+
"name": "layaAir",
6+
"type": "chrome",
7+
"request": "launch",
8+
"file": "${workspaceRoot}/bin/index.html",
9+
"runtimeExecutable": "${execPath}",
10+
"useBuildInServer": true,
11+
"sourceMaps": true,
12+
"webRoot": "${workspaceRoot}",
13+
"port": 9222,
14+
"fixedPort":false
15+
},
16+
{
17+
"name": "chrome调试",
18+
"type": "chrome",
19+
"request": "launch",
20+
"url": "${workspaceRoot}/bin/index.html",
21+
// "换成自己的谷歌安装路径,": 比如
22+
//window 默认安装路径为: "C:/Program Files (x86)/Google/Chrome/Application/chrome.exe"
23+
//mac 系统上的默认安装路径为 "/Applications/Google Chrome.app/Contents/MacOS/Google Chrome";
24+
// "runtimeExecutable": "C:/Program Files (x86)/Google/Chrome/Application/chrome.exe",
25+
"runtimeArgs": [
26+
"--allow-file-access-from-files",
27+
"--allow-file-access-frome-files",
28+
" --disable-web-security"
29+
],
30+
"sourceMaps": true,
31+
"webRoot": "${workspaceRoot}",
32+
//假如谷歌调试报userDataDir不可用,请把谷歌安装路径取得管理员权限,或者更换${tmpdir}为其他可以读写的文件夹,也可以删除。
33+
"userDataDir": "${tmpdir}",
34+
"port":9222,
35+
"fixedPort":false
36+
}
37+
]
38+
}

.laya/tasks.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"version": "0.1.0",
3+
"command": "tsc",
4+
"isShellCommand": true,
5+
"args": []
6+
}

demo.laya

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{"proName":"LayaAir-TypeScript-Automation-Demo","version":"1.7.9beta","proType":1}

0 commit comments

Comments
 (0)