You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"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}"
]
}
],
"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": "",
"sourcePaths": [
"${workspaceRoot}"
]
}
},
{
"label": "Java: Attach to Remote Program",
"description": "Add a new configuration for attaching to a running java program.",