| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
This feature enables configuration-less debugging for Java applications, similar to the JavaScript Debug Terminal in VS Code.

When you open a terminal in VS Code with this extension installed, the following environment variables are automatically set:
Note: JAVA_TOOL_OPTIONS is NOT set globally to avoid affecting other Java tools (javac, maven, gradle). Instead, it's set only when you run the debugjava command.
Instead of running:
java -cp . com.example.MainSimply run:
debugjava -cp . com.example.MainThe debugger will automatically attach, and breakpoints will work without any launch.json configuration!
debugjava -jar target/myapp.jardebugjava -jar build/libs/myapp.jardebugjava -cp . com.example.Main arg1 arg2 --flag=valuedebugjava -jar myapp.jar --spring.profiles.active=devIf you see "Address already in use", another Java debug session is running. Terminate it first.
The wrapper script requires Node.js to be installed and available in PATH.
| Back | FazBrowse Home | New Git URL |