Skip to main content
在 Manus 中运行任何 Skill
一键导入

debug-surefire

// Debug Maven Surefire unit tests by running them in JDWP "wait for debugger" mode (`-Dmaven.surefire.debug`) and attaching to the forked test JVM using **jdb** (preferred for CLI/agent debugging), IntelliJ, or VS Code. Use when asked to debug/step through a failing JUnit test, attach a debugger to a Maven test run, or run `mvn test -Dtest=Class[#method]` suspended on a port (including multi-module `-pl` runs). The JVM will block at startup until a debugger attaches; the agent should attach with `jdb -attach <host>:<port>` and drive the session from the terminal.

$ git log --oneline --stat
stars:404
forks:183
updated:2025年12月25日 20:21
文件资源管理器
2 个文件
SKILL.md
readonly