дзеркало
https://github.com/l0ng-ai/openidea.git
синхронізовано 2026-11-09 19:25:54 +02:00
A Surefire/Failsafe fork started with suspend=y never reaches the console with its "Listening for transport" line: surefire buffers the fork's output until the tests run, and the tests wait for the debugger. The IDE found no port, never attached, and Stop left an orphan debug session. Pick a free port up front (new debug_free_port IPC), pass it to the -Dmaven.surefire.debug/-Dmaven.failsafe.debug agent as address=127.0.0.1:<port>, and attach right away — java-debug retries the connect while the fork starts, so no output line is needed. A duplicated line that does arrive later is deduplicated by port.