Skip to content

Commit

Permalink
Merge pull request #6 from gooiman/feat/debugger-attach
Browse files Browse the repository at this point in the history
feat: 디버거를 bootRun 프로세스에 attach 할 수 있도록 수정
  • Loading branch information
EATSTEAK authored Sep 28, 2024
2 parents 487da1d + 775382b commit 079bd04
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import org.springframework.boot.gradle.tasks.run.BootRun

plugins {
java
id("org.springframework.boot") version "3.3.4"
Expand Down Expand Up @@ -44,3 +46,7 @@ tasks.withType<Test> {
tasks.bootRun {
args = listOf("--spring.profiles.active=local", "--spring.docker.compose.file=docker-compose.bootrun.yml")
}

tasks.withType<BootRun> {
jvmArgs = listOf("-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=0.0.0.0:32323")
}

0 comments on commit 079bd04

Please sign in to comment.