File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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+ }
Original file line number Diff line number Diff line change 1+ {
2+ "version" : " 0.1.0" ,
3+ "command" : " tsc" ,
4+ "isShellCommand" : true ,
5+ "args" : []
6+ }
Original file line number Diff line number Diff line change 1+ {"proName":"LayaAir-TypeScript-Automation-Demo","version":"1.7.9beta","proType":1}
You can’t perform that action at this time.
0 commit comments