Skip to content

Conversation

@wenytang-ms
Copy link
Contributor

@wenytang-ms wenytang-ms commented Oct 15, 2025

Feature request #1530

This PR introduces a configuration-less debugging experience for Java applications, similar to the JavaScript Debug Terminal in VS Code. Users can now debug Java programs directly from the terminal without creating or maintaining launch.json files.

Usage Examples
Basic Usage

# Instead of: java -cp . com.example.Main
javadebug -cp . com.example.Main

With JAR Files

javadebug -jar target/myapp.jar

Spring Boot Applications

javadebug -jar myapp.jar --spring.profiles.active=dev

Demo Record

@wenytang-ms wenytang-ms requested a review from chagong October 15, 2025 06:04
@wenytang-ms
Copy link
Contributor Author

python implementation
microsoft/vscode-python-debugger#557

@wenytang-ms wenytang-ms added this to the 2025-11 milestone Oct 15, 2025
@wenytang-ms
Copy link
Contributor Author

wenytang-ms commented Oct 17, 2025

@chagong Adjust the code to align the Java calling order

Priority Main Debug (launch.json) NoConfigDebug
1 User-specified javaExec JAVA_HOME environment variable
2 Java from Language Server VSCODE_JAVA_EXEC (Language Server)
3 (Implicit) System PATH java command in system PATH

@testforstephen testforstephen merged commit 295079a into main Oct 30, 2025
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants