forked from microsoft/vscode-chrome-debug
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
167 lines (167 loc) · 5.33 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
{
"name": "debugger-for-chrome",
"displayName": "Debugger for Chrome",
"version": "0.2.1",
"icon": "images/icon.png",
"description": "Debug your JavaScript code in the Chrome browser, or any other target that supports the Chrome debug protocol.",
"repository": {
"type": "git",
"url": "https://github.com/Microsoft/vscode-chrome-debug"
},
"publisher": "msjsdiag",
"bugs": "https://github.com/microsoft/vscode-chrome-debug/issues",
"engines": {
"vscode": "*"
},
"categories": ["Debuggers"],
"license": "SEE LICENSE IN LICENSE.txt",
"dependencies": {
"source-map": "^0.5.3",
"ws": "0.8.0"
},
"devDependencies": {
"gulp": "^3.9.0",
"gulp-mocha": "^2.1.3",
"gulp-sourcemaps": "^1.5.2",
"gulp-tslint": "^3.3.1",
"gulp-typescript": "^2.8.0",
"gulp-util": "^3.0.5",
"mocha": "^2.3.3",
"mockery": "^1.4.0",
"sinon": "^1.17.2",
"tsd": "^0.6.3",
"tslint": "^2.5.1",
"typescript": "^1.6.2"
},
"scripts": {
"test": "node ./node_modules/mocha/bin/mocha --recursive -u tdd ./out/test/"
},
"contributes": {
"debuggers": [
{
"type": "chrome",
"label": "Chrome",
"enableBreakpointsFor": {
"languageIds": [
"javascript",
"typescriptreact"
]
},
"program": "./out/webkit/webkitDebug.js",
"runtime": "node",
"initialConfigurations": [
{
"name": "Launch index.html",
"type": "chrome",
"request": "launch",
"file": "${workspaceRoot}/index.html"
},
{
"name": "Launch localhost with sourcemaps",
"type": "chrome",
"request": "launch",
"url": "http://localhost/mypage.html",
"sourceMaps": true,
"webRoot": "wwwroot"
},
{
"name": "Attach",
"type": "chrome",
"request": "attach",
"port": 9222
}
],
"configurationAttributes": {
"launch": {
"required": [ ],
"properties": {
"file": {
"type": "string",
"description": "A local html file to open in the browser",
"default": "index.html"
},
"url": {
"type": "string",
"description": "A url to open in the browser",
"default": "http://mysite.com/index.html"
},
"cwd": {
"type": "string",
"description": "DEPRECATED - renamed to webRoot",
"default": "."
},
"webRoot": {
"type": "string",
"description": "When the 'url' field is specified, this specifies the workspace relative or absolute path to the webserver root.",
"default": "."
},
"runtimeExecutable": {
"type": [
"string",
"null"
],
"description": "Workspace relative or 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",
"default": false
},
"userDataDir": {
"type": "string",
"description": "When set, Chrome is launched with the --user-data-dir option set to this path",
"default": ""
}
}
},
"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
},
"cwd": {
"type": "string",
"description": "DEPRECATED - renamed to webRoot",
"default": "."
},
"webRoot": {
"type": "string",
"description": "When the 'url' field is specified, this specifies the workspace relative or absolute path to the webserver root.",
"default": "."
}
}
}
}
}
]
}
}