Last active
February 27, 2026 07:31
-
-
Save Ladicek/e2da271556530e65d697 to your computer and use it in GitHub Desktop.
annotation processor debugging with Maven
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <plugin> | |
| <groupId>org.apache.maven.plugins</groupId> | |
| <artifactId>maven-compiler-plugin</artifactId> | |
| <configuration> | |
| <compilerArgument>-J-agentlib:jdwp=transport=dt_socket,server=y,suspend=y,address=5005</compilerArgument> | |
| <fork>true</fork> | |
| </configuration> | |
| </plugin> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
这个技巧并非十分深奥,甚至很简单/普通,更像是某种脑筋急转弯。
但它确实非常有用,在AI助手流行的当下(20260226)ClaudeCode\Codex给出的建议都比较复杂/麻烦,没有这个方案简洁直接。