forked from microsoft/vscode-chrome-debug
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
237 lines (237 loc) · 8.48 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
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
{
"name": "debugger-for-chrome",
"displayName": "Debugger for Chrome",
"version": "2.3.1",
"icon": "images/icon.png",
"description": "Debug your JavaScript code in the Chrome browser, or any other target that supports the Chrome Debugger protocol.",
"author": {
"name": "Microsoft Corporation"
},
"repository": {
"type": "git",
"url": "https://github.com/Microsoft/vscode-chrome-debug"
},
"publisher": "msjsdiag",
"bugs": "https://github.com/microsoft/vscode-chrome-debug/issues",
"engines": {
"vscode": "^1.6.0"
},
"categories": [
"Debuggers"
],
"license": "SEE LICENSE IN LICENSE.txt",
"dependencies": {
"vscode-chrome-debug-core": "3.7.1",
"vscode-debugadapter": "^1.15.0-pre.4",
"vscode-debugprotocol": "^1.15.0-pre.4"
},
"devDependencies": {
"@types/mocha": "^2.2.32",
"@types/mockery": "^1.4.29",
"@types/node": "^6.0.41",
"@types/source-map": "^0.1.27",
"chrome-remote-debug-protocol": "^1.2.20161007",
"glob": "^7.1.1",
"gulp": "^3.9.1",
"mocha": "^3.0.2",
"mockery": "^1.7.0",
"ts-loader": "^1.0.0",
"tslint": "^3.15.1",
"typemoq": "^0.3.3",
"typescript": "^2.0.3",
"webpack": "^1.13.3",
"webpack-fail-plugin": "^1.0.5"
},
"scripts": {
"build": "webpack",
"build:test": "tsc -p test/tsconfig.json",
"watch": "webpack -w",
"watch:test": "tsc -p test/tsconfig.json -w",
"test": "mocha -u tdd -c 'out/test/**/*.test.js'",
"lint": "tslint -t verbose 'src/**/*.ts' 'test/**/*.ts'",
"vscode:prepublish": "gulp verify-no-linked-modules"
},
"contributes": {
"breakpoints": [
{
"language": "javascript"
},
{
"language": "typescriptreact"
},
{
"language": "javascriptreact"
},
{
"language": "fsharp"
}
],
"debuggers": [
{
"type": "chrome",
"label": "Chrome",
"program": "./out/bundle.js",
"runtime": "node",
"aiKey": "AIF-d9b70cd4-b9f9-4d70-929b-a071c400b217",
"initialConfigurations": [
{
"name": "Launch Chrome against localhost, with sourcemaps",
"type": "chrome",
"request": "launch",
"url": "http://localhost:8080",
"sourceMaps": true,
"webRoot": "${workspaceRoot}"
},
{
"name": "Attach to Chrome, with sourcemaps",
"type": "chrome",
"request": "attach",
"port": 9222,
"sourceMaps": true,
"webRoot": "${workspaceRoot}"
}
],
"configurationAttributes": {
"launch": {
"required": [],
"properties": {
"port": {
"type": "number",
"description": "Port to use for Chrome remote debugging.",
"default": 9222
},
"address": {
"type": "string",
"description": "TCP/IP address of debug port",
"default": "127.0.0.1"
},
"file": {
"type": "string",
"description": "A local html file to open in the browser",
"default": "${workspaceRoot}/index.html"
},
"url": {
"type": "string",
"description": "A url to open in the browser",
"default": "http://mysite.com/index.html"
},
"webRoot": {
"type": "string",
"description": "When the 'url' field is specified, this specifies the workspace absolute path to the webserver root.",
"default": "${workspaceRoot}"
},
"runtimeExecutable": {
"type": [
"string",
"null"
],
"description": "Workspace absolute path to the runtime executable to be used. If not specified, Chrome will be used from the default install location.",
"default": null
},
"runtimeArgs": {
"type": "array",
"description": "Optional arguments passed to the runtime executable.",
"items": {
"type": "string"
},
"default": []
},
"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 in a human readable format",
"default": true
},
"verboseDiagnosticLogging": {
"type": "boolean",
"description": "When true, the adapter logs all traffic with the client and target (as well as the info logged by 'diagnosticLogging')",
"default": true
},
"userDataDir": {
"type": "string",
"description": "When set, Chrome is launched with the --user-data-dir option set to this path",
"default": ""
},
"sourceMapPathOverrides": {
"type": "object",
"description": "A set of mappings for rewriting the locations of source files from what the sourcemap says, to their locations on disk. See README for details.",
"default": {}
},
"smartStep": {
"type": "boolean",
"description": "Automatically step through generated code that cannot be mapped back to the original source.",
"default": true
},
"experimentalSkipFiles": {
"type": "array",
"description": "An array of file or folder names, or path globs, to skip when debugging.",
"default": []
}
}
},
"attach": {
"required": [
"port"
],
"properties": {
"port": {
"type": "number",
"description": "Port to use for Chrome remote debugging.",
"default": 9222
},
"address": {
"type": "string",
"description": "TCP/IP address of debug port",
"default": "127.0.0.1"
},
"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 in a human readable format",
"default": true
},
"verboseDiagnosticLogging": {
"type": "boolean",
"description": "When true, the adapter logs all traffic with the client and target (as well as the info logged by 'diagnosticLogging')",
"default": true
},
"url": {
"type": "string",
"description": "Will search for a tab with this EXACT url and attach to it, if found",
"default": "http://mysite.com/index.html"
},
"webRoot": {
"type": "string",
"description": "This specifies the workspace absolute path to the webserver root. Used to resolve paths like `/app.js` to files on disk.",
"default": "${workspaceRoot}"
},
"sourceMapPathOverrides": {
"type": "object",
"description": "A set of mappings for rewriting the locations of source files from what the sourcemap says, to their locations on disk. See README for details.",
"default": {}
},
"smartStep": {
"type": "boolean",
"description": "Automatically step through generated code that cannot be mapped back to the original source.",
"default": true
},
"experimentalLibraryCode": {
"type": "array",
"description": "An array of file or folder names, or path regexes, to skip when debugging.",
"default": []
}
}
}
}
}
]
}
}