forked from microsoft/vscode-java-debug
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
171 lines (171 loc) · 5.29 KB
/
package.json
File metadata and controls
171 lines (171 loc) · 5.29 KB
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
{
"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": "Microsoft",
"icon": "logo.png",
"keywords": [
"java",
"debug",
"debugging",
"debugger"
],
"engines": {
"vscode": "^1.14.0"
},
"categories": [
"Debuggers"
],
"activationEvents": [
"onLanguage:java",
"onCommand:vscode.java.startDebugSession"
],
"main": "./out/src/extension",
"contributes": {
"javaExtensions": [
"./server/com.microsoft.java.debug.plugin-0.1.0-SNAPSHOT.jar"
],
"commands": [],
"debuggers": [
{
"type": "java",
"label": "Java",
"startSessionCommand": "vscode.java.startDebugSession",
"enableBreakpointsFor": {
"languageIds": [
"java"
]
},
"configurationAttributes": {
"launch": {
"required": [
"mainClass"
],
"properties": {
"projectName": {
"type": "string",
"description": "Name of the project that contains the main class (optional, only required when the main class resides in multiple projects).",
"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 java options and system properties passed to the JVM launcher (e.g. -Xms<size> -Xmx<size> -D<name>=<value>).",
"default": ""
},
"classPaths": {
"type": "array",
"items": {
"type": "string"
},
"description": "The classpaths passed to the JVM launcher (if not specified, debugger will resolve them automatically from the project configuration).",
"default": []
},
"sourcePaths": {
"type": "array",
"items": {
"type": "string"
},
"description": "The source directories of the program.",
"default": []
},
"encoding": {
"type": "string",
"description": "The file.encoding setting passed to the JVM launcher (if not specified, default value '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 source directories of the program."
},
"projectName": {
"type": "string",
"description": "Name of the project that contains the main class (optional, only required when the main class resides in multiple projects).",
"default": ""
}
}
}
},
"initialConfigurations": [
{
"type": "java",
"name": "Debug (Launch)",
"request": "launch",
"mainClass": "",
"args": "",
"sourcePaths": [
"${workspaceRoot}"
]
},
{
"type": "java",
"name": "Debug (Attach)",
"request": "attach",
"hostName": "localhost",
"port": 0,
"timeout": 30000,
"sourcePaths": [
"${workspaceRoot}"
]
}
]
}
]
},
"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"
}
}