This repository has been archived by the owner on Mar 3, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 13
/
package.json
203 lines (203 loc) · 9.06 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
{
"name": "debugger-for-ios-web",
"displayName": "Debugger for iOS Web",
"version": "0.1.2",
"icon": ".readme/icon.png",
"description": "Debug your JavaScript code running in Safari on iOS devices from VS Code.",
"repository": {
"type": "git",
"url": "https://github.com/Microsoft/vscode-ios-web-debug"
},
"publisher": "msjsdiag",
"bugs": "https://github.com/Microsoft/vscode-ios-web-debug/issues",
"engines": {
"vscode": "*"
},
"categories": [
"Debuggers"
],
"license": "SEE LICENSE IN LICENSE.txt",
"dependencies": {
"vscode-chrome-debug-core": "0.1.16",
"localtunnel": "1.8.1"
},
"optionalDependencies": {
"vs-libimobile": "^0.0.3"
},
"devDependencies": {
"gulp": "^3.9.1",
"gulp-mocha": "^2.1.3",
"gulp-sourcemaps": "^1.5.2",
"gulp-tslint": "^3.3.1",
"gulp-typescript": "^2.12.1",
"gulp-util": "^3.0.5",
"mocha": "^2.3.3",
"mockery": "^1.4.0",
"sinon": "^1.17.2",
"tslint": "^2.5.1",
"typescript": "^1.8.9",
"typings": "^0.7.12"
},
"scripts": {
"test": "node ./node_modules/mocha/bin/mocha --recursive -u tdd ./out/test/"
},
"contributes": {
"debuggers": [
{
"type": "ios",
"label": "iOS",
"enableBreakpointsFor": {
"languageIds": [
"javascript",
"typescriptreact"
]
},
"program": "./out/src/iosDebug.js",
"runtime": "node",
"initialConfigurations": [
{
"name": "iOS - launch localhost",
"type": "ios",
"request": "launch",
"port": 9222,
"url": "http://localhost:8080",
"webRoot": "${workspaceRoot}",
"deviceName": "*",
"tunnelPort": 8080
},
{
"name": "iOS - launch mysite.com",
"type": "ios",
"request": "launch",
"port": 9222,
"url": "http://mysite.com/index.html",
"webRoot": "${workspaceRoot}",
"deviceName": "*"
},
{
"name": "iOS - attach to dev.domain.com",
"type": "ios",
"request": "attach",
"port": 9222,
"url": "http://dev.domain.com/",
"webRoot": "${workspaceRoot}",
"deviceName": "*"
}
],
"configurationAttributes": {
"launch": {
"required": [
"port"
],
"properties": {
"port": {
"type": "number",
"description": "Port to use for Chrome remote debugging.",
"default": 9222
},
"sourceMaps": {
"type": "boolean",
"description": "Use JavaScript source maps (if they exist).",
"default": true
},
"diagnosticLogging": {
"type": "boolean",
"description": "When true, the adapter logs its own diagnostic info to the console",
"default": false
},
"webRoot": {
"type": "string",
"description": "This specifies the workspace absolute path to the webserver root.",
"default": "${workspaceRoot}"
},
"url": {
"type": "string",
"description": "A url to launch in the attached browser. If you are using the tunnelPort or startLocalServer settings, you can use a relative url here.",
"default": "http://mysite.com/index.html"
},
"deviceName": {
"type": "string",
"description": "The name of the device to attach to (can be found at the proxy json endpoint) or '*' for any",
"default": "*"
},
"proxyExecutable": {
"type": [
"string",
"null"
],
"description": "Workspace absolute path to the proxy executable to be used when attaching to a 'device'. If not specified, ios_webkit_debug_proxy.exe will be used from the default install location.",
"default": null
},
"proxyArgs": {
"type": "array",
"description": "Optional arguments passed to the proxy executable.",
"items": {
"type": "string"
},
"default": []
},
"tunnelPort": {
"type": "number",
"description": "The local port to expose from the local machine to the internet via a tunnel proxy (or '0' to disable). This allows the connected iOS device to access a webserver running on the local machine",
"default": 0
}
}
},
"attach": {
"required": [
"port"
],
"properties": {
"port": {
"type": "number",
"description": "Port to use for Chrome remote debugging.",
"default": 9222
},
"sourceMaps": {
"type": "boolean",
"description": "Use JavaScript source maps (if they exist).",
"default": true
},
"diagnosticLogging": {
"type": "boolean",
"description": "When true, the adapter logs its own diagnostic info to the console",
"default": false
},
"webRoot": {
"type": "string",
"description": "This specifies the workspace absolute path to the webserver root.",
"default": "${workspaceRoot}"
},
"url": {
"type": "string",
"description": "A url to find in the attached browser",
"default": "http://mysite.com/index.html"
},
"deviceName": {
"type": "string",
"description": "The name of the device to attach to (can be found at the proxy json endpoint) or '*' for any",
"default": "*"
},
"proxyExecutable": {
"type": [
"string",
"null"
],
"description": "Workspace absolute path to the proxy executable to be used when attaching to a 'device'. If not specified, ios_webkit_debug_proxy.exe will be used from the default install location.",
"default": null
},
"proxyArgs": {
"type": "array",
"description": "Optional arguments passed to the proxy executable.",
"items": {
"type": "string"
},
"default": []
}
}
}
}
}
]
}
}