Remove over-complicated launch and tasks configuration in favor of Gradle plugin
Starting run/debug tasks with the plugin works out of the box; one just has to avoid the default “Run and Debug” button.
This commit is contained in:
parent
6b694a83ed
commit
c1ad40ef72
3 changed files with 2 additions and 113 deletions
46
.vscode/launch.json
vendored
46
.vscode/launch.json
vendored
|
@ -1,46 +0,0 @@
|
|||
{
|
||||
// Use IntelliSense to learn about possible attributes.
|
||||
// Hover to view descriptions of existing attributes.
|
||||
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
|
||||
"version": "0.2.0",
|
||||
"configurations": [
|
||||
{
|
||||
"type": "java",
|
||||
"name": "Current File",
|
||||
"request": "launch",
|
||||
"mainClass": "${file}"
|
||||
},
|
||||
{
|
||||
"type": "java",
|
||||
"name": "Run with Gradle",
|
||||
"request": "launch",
|
||||
"mainClass": "helma.main.Server",
|
||||
"projectName": "helma",
|
||||
"preLaunchTask": "Run with Gradle",
|
||||
"console": "internalConsole",
|
||||
"stopOnEntry": false
|
||||
},
|
||||
{
|
||||
"name": "Debug with Gradle",
|
||||
"type": "java",
|
||||
"request": "attach",
|
||||
"hostName": "localhost",
|
||||
"port": 5005,
|
||||
"preLaunchTask": "Debug with Gradle"
|
||||
},
|
||||
{
|
||||
"type": "java",
|
||||
"name": "Commandline",
|
||||
"request": "launch",
|
||||
"mainClass": "helma.main.launcher.Commandline",
|
||||
"projectName": "launcher"
|
||||
},
|
||||
{
|
||||
"type": "java",
|
||||
"name": "Main",
|
||||
"request": "launch",
|
||||
"mainClass": "helma.main.launcher.Main",
|
||||
"projectName": "launcher"
|
||||
}
|
||||
]
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue