diff --git a/package.json b/package.json index c6e28a3..b893f3a 100644 --- a/package.json +++ b/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}" + ] + } + } ] } ]