Skip to content

Commit a885ae2

Browse files
committed
Run with debug flags in dev
1 parent fcf7f3a commit a885ae2

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

fabric/build.gradle.kts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,11 +77,13 @@ tasks.test {
7777
outputs.upToDateWhen { false }
7878
}
7979

80-
//Mixin hotswap
80+
//Mixin hotswap, debug flags
8181
afterEvaluate {
8282
loom.runs.configureEach {
8383
// https://fabricmc.net/wiki/tutorial:mixin_hotswaps
8484
vmArg("-javaagent:${ configurations.compileClasspath.get().find { it.name.contains("sponge-mixin") } }")
85+
vmArg("-Dmixin.debug.export=true")
86+
vmArg("-Dmixin.debug=true")
8587
}
8688
}
8789

0 commit comments

Comments
 (0)