дзеркало
https://github.com/l0ng-ai/openidea.git
синхронізовано 2026-11-28 13:32:29 +02:00
fix(debugger): show the output of Maven, Gradle and script debugging in the Debug console (#2578)
Debugging a configuration the Run feature starts with a JDWP agent (Maven, Gradle, Spring Boot, Tomcat, scripts set to the Java debugger) attaches the debugger to that process, and its output stayed in the Run tab while the Debug console was empty. The run feature now provides its sessions' output by process (`RunOutputService`), and a debug session attached to one follows it in its Console until the session is closed. Fixes #2494
Цей коміт міститься в:
1 джерело
835a9c883c
коміт
1a6fc7fd21
8 files changed
+193
-5
No files matched your search
@@ -3,7 +3,8 @@
|
||||
* build tool starts the JVM with a JDWP agent that waits for a debugger
|
||||
* (`spring-boot:run` → `-Dspring-boot.run.jvmArguments`, Surefire →
|
||||
* `-Dmaven.surefire.debug`, Gradle → `--debug-jvm`); when the agent reports
|
||||
* its port, the Java debugger attaches. Output and the test tree stay in the Run tab.
|
||||
* its port, the Java debugger attaches. The test tree stays in the Run tab; the
|
||||
* Debug console shows the output as well.
|
||||
* Maven goals that run the application inside Maven's JVM (`tomcat7:run`, `jetty:run`,
|
||||
* `exec:java`) get the agent through `MAVEN_OPTS`; any other configuration set to the Java
|
||||
* debugger (a script such as `catalina.sh run`) through `JAVA_TOOL_OPTIONS`, which every JVM reads.
|
||||
|
||||
Reference in new issue
Заблокувати користувача