дзеркало
https://github.com/l0ng-ai/openidea.git
синхронізовано 2026-12-04 01:01:17 +02:00
fix(debugger): echo the Java launch command in the debug console (#2930)
Java Debug launches through java-debug in jdtls, which bypasses the Run process that echoes its command line. Debug now prints the equivalent java … -cp … Main … command after the build and classpath resolution, so Debug and Run output stay comparable. Co-authored-by: kradme <[email protected]>
Цей коміт міститься в:
1 джерело
2e044c4a2b
коміт
bc00302ef8
2 files changed
+15
No files matched your search
@@ -139,6 +139,9 @@ export async function javaLaunchConfig(
|
||||
const classPaths = parsed.explicitClasspath
|
||||
? parsed.explicitClasspath.split(info.pathListSeparator)
|
||||
: info.classPaths;
|
||||
// java-debug starts the JVM itself, bypassing the Run process that echoes its
|
||||
// command line. Echo the equivalent launch here so Debug and Run stay comparable.
|
||||
preparation?.report?.(`${joinJavaArgs([resolved.command, ...resolved.args])}\n`);
|
||||
if (kotlin) {
|
||||
return {
|
||||
name: rc.name,
|
||||
|
||||
Reference in new issue
Заблокувати користувача