forked from microsoft/vscode-java-debug
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
218 lines (218 loc) · 6.99 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
{
"name": "vscode-java-debug",
"displayName": "Java Debug Extension for Visual Studio Code",
"description": "A lightweight Java debugger for Visual Studio Code",
"version": "0.1.0",
"publisher": "vscjava",
"preview": true,
"aiKey": "67d4461e-ccba-418e-8082-1bd0acfe8516",
"icon": "logo.png",
"keywords": [
"java",
"debug",
"debugging",
"debugger"
],
"engines": {
"vscode": "^1.17.0"
},
"license": "SEE LICENSE IN LICENSE.txt",
"repository": {
"type": "git",
"url": "https://github.com/Microsoft/vscode-java-debug.git"
},
"bugs": {
"url": "https://github.com/Microsoft/vscode-java-debug/issues"
},
"homepage": "https://github.com/Microsoft/vscode-java-debug/blob/master/README.md",
"categories": [
"Debuggers"
],
"activationEvents": [
"onLanguage:java",
"onCommand:vscode.java.startDebugSession"
],
"main": "./out/src/extension",
"contributes": {
"javaExtensions": [
"./server/com.microsoft.java.debug.plugin-0.1.0.jar"
],
"commands": [],
"debuggers": [
{
"type": "java",
"label": "Java",
"startSessionCommand": "vscode.java.startDebugSession",
"enableBreakpointsFor": {
"languageIds": [
"java"
]
},
"configurationAttributes": {
"launch": {
"required": [
"mainClass"
],
"properties": {
"projectName": {
"type": "string",
"description": "The preferred project in which the debugger searches for classes. There could be duplicated class names in different projects. This setting also works when the debugger looks for the specified main class when launching a program.",
"default": ""
},
"mainClass": {
"type": "string",
"description": "The main class of the program (fully qualified name, e.g. com.xyz.MainClass).",
"default": ""
},
"args": {
"type": "string",
"description": "The command line arguments passed to the program.",
"default": ""
},
"vmArgs": {
"type": "string",
"description": "The extra options and system properties for the JVM (e.g. -Xms<size> -Xmx<size> -D<name>=<value>).",
"default": ""
},
"classPaths": {
"type": "array",
"items": {
"type": "string"
},
"description": "The classpaths for launching the JVM. If not specified, the debugger will automatically resolve from current project.",
"default": []
},
"sourcePaths": {
"type": "array",
"items": {
"type": "string"
},
"description": "The extra source directories of the program. The debugger looks for source code from project settings by default. This option allows the debugger to look for source code in extra directories.",
"default": []
},
"encoding": {
"type": "string",
"description": "The file.encoding setting for the JVM. If not specified, 'UTF-8' will be used. Possible values can be found in http://docs.oracle.com/javase/8/docs/technotes/guides/intl/encoding.doc.html.",
"default": "UTF-8"
}
}
},
"attach": {
"required": [
"hostName",
"port"
],
"properties": {
"hostName": {
"type": "string",
"default": "localhost",
"description": "The host name or ip address of remote debuggee."
},
"port": {
"type": "number",
"description": "The debug port of remote debuggee."
},
"timeout": {
"type": "number",
"default": 30000,
"description": "Timeout value before reconnecting, in milliseconds (default to 30000ms)."
},
"sourcePaths": {
"type": "array",
"items": {
"type": "string"
},
"default": [],
"description": "The extra source directories of the program. The debugger looks for source code from project settings by default. This option allows the debugger to look for source code in extra directories."
},
"projectName": {
"type": "string",
"description": "The preferred project in which the debugger searches for classes. There could be duplicated class names in different projects.",
"default": ""
}
}
}
},
"initialConfigurations": [
{
"type": "java",
"name": "Debug (Launch)",
"request": "launch",
"mainClass": "",
"args": ""
},
{
"type": "java",
"name": "Debug (Attach)",
"request": "attach",
"hostName": "localhost",
"port": 0
}
],
"configurationSnippets": [
{
"label": "Java: Launch Program",
"description": "Add a new configuration for launching a java program.",
"body": {
"type": "java",
"name": "Debug (Launch)",
"request": "launch",
"mainClass": "",
"args": ""
}
},
{
"label": "Java: Attach to Remote Program",
"description": "Add a new configuration for attaching to a running java program.",
"body": {
"type": "java",
"name": "Debug (Attach)",
"request": "attach",
"hostName": "localhost",
"port": 0
}
}
]
}
],
"configuration": {
"type": "object",
"title": "Java Debugger Configuration",
"properties": {
"java.debug.logLevel": {
"type": "string",
"default": "warn",
"enum": [
"error",
"warn",
"info",
"verbose"
]
}
}
}
},
"scripts": {
"vscode:prepublish": "tsc -p ./",
"compile": "tsc -watch -p ./",
"postinstall": "node ./node_modules/vscode/bin/install",
"test": "node ./node_modules/vscode/bin/test"
},
"extensionDependencies": [
"redhat.java"
],
"devDependencies": {
"@types/mocha": "^2.2.32",
"@types/node": "^6.0.40",
"gulp": "^3.9.1",
"gulp-copy": "^1.0.1",
"gulp-tslint": "^8.1.2",
"mocha": "^2.3.3",
"tslint": "^5.7.0",
"typescript": "^2.0.3",
"vscode": "^1.1.5"
},
"dependencies": {
"vscode-extension-telemetry": "0.0.8"
}
}