Add setup for Gradle debugging in VS Codium
This commit is contained in:
parent
6401300189
commit
3e5af064b0
3 changed files with 119 additions and 83 deletions
|
@ -290,3 +290,11 @@ task commandLine(type: JavaExec) {
|
|||
mainClass = 'helma.main.launcher.Commandline'
|
||||
args '-h', projectDir, function
|
||||
}
|
||||
|
||||
tasks.register('debug', JavaExec) {
|
||||
group = 'application'
|
||||
main = 'helma.main.Server'
|
||||
classpath = sourceSets.main.runtimeClasspath
|
||||
jvmArgs = ['-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=*:5005']
|
||||
classpath += fileTree(dir: 'lib/ext', include: '*.jar')
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue