forked from zed-extensions/java
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathJava.json
More file actions
173 lines (173 loc) · 6.73 KB
/
Java.json
File metadata and controls
173 lines (173 loc) · 6.73 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
172
173
{
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"oneOf": [
{
"title": "Launch",
"properties": {
"request": {
"type": "string",
"enum": ["launch"],
"description": "The request type for the Java debug adapter, always \"launch\"."
},
"projectName": {
"type": "string",
"description": "The fully qualified name of the project"
},
"mainClass": {
"type": "string",
"description": "The fully qualified name of the class containing the main method. If not specified, the debugger automatically resolves the possible main class from the current project."
},
"args": {
"oneOf": [
{
"type": "string"
},
{
"type": "array",
"items": {
"type": "string"
}
}
],
"description": "The command line arguments passed to the program. Can be a single string or an array of strings."
},
"vmArgs": {
"oneOf": [
{
"type": "string"
},
{
"type": "array",
"items": {
"type": "string"
}
}
],
"description": "The extra options and system properties for the JVM (e.g., -Xms<size> -Xmx<size> -D<name>=<value>). Can be a single string or an array of strings."
},
"encoding": {
"type": "string",
"description": "The file.encoding setting for the JVM. Possible values can be found in the Supported Encodings documentation."
},
"classPaths": {
"type": "array",
"items": {
"type": "string"
},
"description": "The classpaths for launching the JVM. If not specified, the debugger will automatically resolve them from the current project. If multiple values are specified, the debugger will merge them together. Available values for special handling include: '$Auto' - Automatically resolve the classpaths of the current project. '$Runtime' - The classpaths within the 'runtime' scope of the current project. '$Test' - The classpaths within the 'test' scope of the current project."
},
"modulePaths": {
"type": "array",
"items": {
"type": "string"
},
"description": "The modulepaths for launching the JVM. If not specified, the debugger will automatically resolve them from the current project."
},
"cwd": {
"type": "string",
"description": "The working directory of the program. Defaults to '${workspaceFolder}'."
},
"env": {
"type": "object",
"description": "The extra environment variables for the program.",
"additionalProperties": {
"type": "string"
}
},
"stopOnEntry": {
"type": "boolean",
"description": "Automatically pause the program after launching."
},
"noDebug": {
"type": "boolean",
"description": "If set to 'true', disables debugging. The program will be launched without attaching the debugger. Useful for launching a program without debugging, for instance for profiling."
},
"console": {
"type": "string",
"enum": ["internalConsole", "integratedTerminal", "externalTerminal"],
"description": "The specified console to launch the program."
},
"shortenCommandLine": {
"type": "string",
"enum": ["none", "jarmanifest", "argfile"],
"description": "Provides multiple approaches to shorten the command line when it exceeds the maximum command line string limitation allowed by the OS."
},
"launcherScript": {
"type": "string",
"description": "The path to an external launcher script to use instead of the debugger's built-in launcher. This is an advanced option for customizing how the JVM is launched."
},
"javaExec": {
"type": "string",
"description": "The path to the Java executable to use. By default, the project JDK's Java executable is used."
}
},
"required": ["request"]
},
{
"title": "Attach",
"properties": {
"request": {
"type": "string",
"enum": ["attach"],
"description": "The request type for the Java debug adapter, always \"attach\"."
},
"hostName": {
"type": "string",
"description": "The host name or IP address of the remote debuggee."
},
"port": {
"type": "integer",
"description": "The debug port of the remote debuggee."
},
"timeout": {
"type": "integer",
"description": "Timeout value before reconnecting, in milliseconds (default to 30000ms)."
},
"projectName": {
"type": "string",
"description": "The fully qualified name of the project"
},
"sourcePaths": {
"type": "array",
"items": {
"type": "string"
},
"description": "The source paths for the debugger. If not specified, the debugger will automatically resolve the source paths from the current project."
},
"stepFilters": {
"type": "object",
"properties": {
"allowClasses": {
"type": "array",
"items": {
"type": "string"
},
"description": "Restricts the events generated by the request to those whose location is in a class whose name matches this restricted regular expression. Regular expressions are limited to exact matches and patterns that begin with '*' or end with '*'; for example, \"*.Foo\" or \"java.*\"."
},
"skipClasses": {
"type": "array",
"items": {
"type": "string"
},
"description": "Restricts the events generated by the request to those whose location is in a class whose name does not match this restricted regular expression, e.g. \"java.*\" or \"*.Foo\"."
},
"skipSynthetics": {
"type": "boolean",
"description": "If true, skips synthetic methods."
},
"skipStaticInitializers": {
"type": "boolean",
"description": "If true, skips static initializers."
},
"skipConstructors": {
"type": "boolean",
"description": "If true, skips constructors."
}
}
}
},
"required": ["request", "hostName", "port"]
}
]
}