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:
Jinbo Wang 2017-09-20 14:40:37 +08:00 committed by GitHub
parent 9cb2eaf9b5
commit c33bb189e8
1 changed files with 31 additions and 0 deletions

View File

@ -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}"
]
}
}
]
}
]