bufbuild / buf-gradle-plugin

Gradle plugin for the Buf CLI
Apache License 2.0
49 stars 13 forks source link

Simplify remote plugin debugging #212

Closed drice-buf closed 3 months ago

drice-buf commented 3 months ago

After reading some more docs, I learned that it is possible to set GradleRunner.withDebug(true) which will cause the plug-in code to be run in the same process as the tests, allowing breakpoints to be set. I'm going to close the PR although the technique could be useful in cases where spawning a new process is required (i.e., the environment needs to be altered).