Add launch.json configuration snippets for vscode-java-debug (#23)
* Add launch.json configuration snippets for vscode-java-debug Signed-off-by: Jinbo Wang <jinbwan@microsoft.com> * improve description text
This commit is contained in:
parent
9cb2eaf9b5
commit
c33bb189e8
31
package.json
31
package.json
|
@ -144,6 +144,37 @@
|
|||
"${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.",
|
||||
"body": {
|
||||
"type": "java",
|
||||
"name": "Debug (Attach)",
|
||||
"request": "attach",
|
||||
"hostName": "localhost",
|
||||
"port": 0,
|
||||
"timeout": 30000,
|
||||
"sourcePaths": [
|
||||
"${workspaceRoot}"
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
|
|
Loading…
Reference in New Issue